summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-01-15 20:20:24 +0000
committeryexo <yexo@openttd.org>2010-01-15 20:20:24 +0000
commit72572a0586e3444af1c78c835a7f50fa5ca4be53 (patch)
tree68bd1041aa38cbc01892bb62a28f33bc76a9a077
parent785b7e3382e4f46fb38cf276f9b02d62a195920e (diff)
downloadopenttd-72572a0586e3444af1c78c835a7f50fa5ca4be53.tar.xz
(svn r18815) -Fix (r18813): adding a single newgrf via the newgrf gui added all newgrfs after the selected one too
-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;