From 627aa240ba1abb083930e457b4eb0098b4d499d8 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 23 Jun 2007 21:12:09 +0000 Subject: (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. --- src/newgrf_gui.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/newgrf_gui.cpp') 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(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; -- cgit v1.2.3-70-g09d2