src/newgrf_gui.cpp
branchgamebalance
changeset 9912 1ac8aac92385
parent 9909 dce9a6923bb7
child 9913 e79cd19772dd
--- a/src/newgrf_gui.cpp	Wed Jun 13 11:45:14 2007 +0000
+++ b/src/newgrf_gui.cpp	Wed Jun 13 12:05:56 2007 +0000
@@ -186,8 +186,9 @@
 						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);
+						if (src->full_path != NULL) c->full_path = strdup(src->full_path);
+						if (src->name      != NULL) c->name      = strdup(src->name);
+						if (src->info      != NULL) c->info      = strdup(src->info);
 						c->next = NULL;
 
 						/* Append GRF config to configuration list */