forked from mirror/OpenTTD
(svn r8914) -Regression (UTF8): Win9x is very picky about trailing slashes in paths, so C:\\* will not work (but C:\Windows\\* does; go figure). Thanks glx for pointing it out and for the initial fix.
This commit is contained in:
@@ -485,6 +485,9 @@ static void NewGRFWndProc(Window *w, WindowEvent *e)
|
||||
break;
|
||||
|
||||
case WE_DESTROY:
|
||||
if (!WP(w, newgrf_d).execute) {
|
||||
CopyGRFConfigList(WP(w, newgrf_d).orig_list, *WP(w, newgrf_d).list);
|
||||
}
|
||||
/* Remove the temporary copy of grf-list used in window */
|
||||
ClearGRFConfigList(WP(w, newgrf_d).list);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user