File diff r6138:b11eea571618 → r6139:0128edd33976
src/newgrf_config.cpp
Show inline comments
 
@@ -124,7 +124,10 @@ GRFConfig **CopyGRFConfigList(GRFConfig 
 
		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);
 
		if (src->error    != NULL) c->error    = strdup(src->error);
 
		if (src->error    != NULL) {
 
			c->error = CallocT<GRFError>(1);
 
			memcpy(c->error, src->error, sizeof(GRFError));
 
		}
 

	
 
		*dst = c;
 
		dst = &c->next;