File diff r14251:3ca1b5f41119 → r14252:43b941624db8
src/newgrf_gui.cpp
Show inline comments
 
@@ -381,12 +381,7 @@ public:
 
					}
 

	
 
					/* Copy GRF details from scanned list */
 
					GRFConfig *c = CallocT<GRFConfig>(1);
 
					*c = *src;
 
					c->filename = strdup(src->filename);
 
					if (src->name      != NULL) c->name      = strdup(src->name);
 
					if (src->info      != NULL) c->info      = strdup(src->info);
 
					c->next = NULL;
 
					GRFConfig *c = DuplicateGRFConfig(src);
 

	
 
					/* Append GRF config to configuration list */
 
					*list = c;