summaryrefslogtreecommitdiff
path: root/src/newgrf_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-06-23 21:12:09 +0000
committerrubidium <rubidium@openttd.org>2007-06-23 21:12:09 +0000
commit6402d001909cc0f47fa3d9654b331c0ad96267f5 (patch)
treea1cc1caa824002d18729cbbf175cfdf094f14a10 /src/newgrf_gui.cpp
parentbe35df3f0363ffffe1cfed8d81084c40212e9571 (diff)
downloadopenttd-6402d001909cc0f47fa3d9654b331c0ad96267f5.tar.xz
(svn r10298) -Fix [FS#903]: show the subdirectory below the default data directory in this filename in the newgrf list. The directory was removed in r9560 because then it used to full path instead of the path relative to the data directory, but since the inclusion of "search paths" that is not necessary anymore.
Diffstat (limited to 'src/newgrf_gui.cpp')
-rw-r--r--src/newgrf_gui.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp
index 988bba28c..d9dd12173 100644
--- a/src/newgrf_gui.cpp
+++ b/src/newgrf_gui.cpp
@@ -191,7 +191,6 @@ static void NewGRFAddDlgWndProc(Window *w, WindowEvent *e)
GRFConfig *c = CallocT<GRFConfig>(1);
*c = *src;
c->filename = strdup(src->filename);
- if (src->full_path != NULL) c->full_path = strdup(src->full_path);
if (src->name != NULL) c->name = strdup(src->name);
if (src->info != NULL) c->info = strdup(src->info);
c->next = NULL;