From 72572a0586e3444af1c78c835a7f50fa5ca4be53 Mon Sep 17 00:00:00 2001 From: yexo Date: Fri, 15 Jan 2010 20:20:24 +0000 Subject: (svn r18815) -Fix (r18813): adding a single newgrf via the newgrf gui added all newgrfs after the selected one too --- src/newgrf_gui.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/newgrf_gui.cpp') 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; -- cgit v1.2.3-54-g00ecf