equal
deleted
inserted
replaced
185 CopyGRFConfigList(tail, _grfconfig_static); |
185 CopyGRFConfigList(tail, _grfconfig_static); |
186 RemoveDuplicatesFromGRFConfigList(*dst); |
186 RemoveDuplicatesFromGRFConfigList(*dst); |
187 } |
187 } |
188 |
188 |
189 /** Appends an element to a list of GRFs |
189 /** Appends an element to a list of GRFs |
190 * @param dst the head of the list to add to */ |
190 * @param dst the head of the list to add to |
|
191 * @param el the new tail to be */ |
191 void AppendToGRFConfigList(GRFConfig **dst, GRFConfig *el) |
192 void AppendToGRFConfigList(GRFConfig **dst, GRFConfig *el) |
192 { |
193 { |
193 GRFConfig **tail = dst; |
194 GRFConfig **tail = dst; |
194 while (*tail != NULL) tail = &(*tail)->next; |
195 while (*tail != NULL) tail = &(*tail)->next; |
195 *tail = el; |
196 *tail = el; |