File diff r5586:c50e3258a19f → r5587:034e5e185dc2
src/newgrf_gui.cpp
Show inline comments
 
@@ -11,6 +11,7 @@
 
#include "table/sprites.h"
 
#include "newgrf.h"
 
#include "newgrf_config.h"
 
#include "helpers.hpp"
 

	
 

	
 
/** Parse an integerlist string and set each found value
 
@@ -164,7 +165,7 @@ static void NewGRFAddDlgWndProc(Window *
 
						}
 

	
 
						/* Copy GRF details from scanned list */
 
						c = calloc(1, sizeof(*c));
 
						CallocT(&c, 1);
 
						*c = *src;
 
						c->filename = strdup(src->filename);
 
						if (src->name != NULL) c->name = strdup(src->name);