Changeset - r5366:83ef5d1f43e1
[Not reviewed]
master
0 1 0
rubidium - 17 years ago 2006-12-23 09:06:37
rubidium@openttd.org
(svn r7551) -Fix (r7523): segmentation fault on showing NewGRF settings of a network game.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
newgrf_config.c
Show inline comments
 
@@ -120,7 +120,7 @@ GRFConfig **CopyGRFConfigList(GRFConfig 
 
	for (; src != NULL; src = src->next) {
 
		c = calloc(1, sizeof(*c));
 
		*c = *src;
 
		c->filename = strdup(src->filename);
 
		if (src->filename != NULL) c->filename = strdup(src->filename);
 
		if (src->name != NULL) c->name = strdup(src->name);
 
		if (src->info != NULL) c->info = strdup(src->info);
 

	
0 comments (0 inline, 0 general)