summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/newgrf_gui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp
index bf942dff3..3ec7f194e 100644
--- a/src/newgrf_gui.cpp
+++ b/src/newgrf_gui.cpp
@@ -382,6 +382,7 @@ public:
/* Copy GRF details from scanned list */
GRFConfig *c = DuplicateGRFConfig(src);
+ c->next = NULL;
/* Append GRF config to configuration list */
*list = c;