From 99c17f8ac7bb12874739baacdfce9e82c956fe75 Mon Sep 17 00:00:00 2001 From: Darkvater Date: Tue, 19 Jul 2005 20:43:53 +0000 Subject: [PATCH] (svn r2638) - Fix: Unable to delete savegames. Deleting TTDLX savegames is still broken as it was always broken, but since they don't even show up; we might as well call it a feature. --- misc_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc_gui.c b/misc_gui.c index f7068dd3fa..b012469b62 100644 --- a/misc_gui.c +++ b/misc_gui.c @@ -1292,7 +1292,7 @@ static void SaveLoadDlgWndProc(Window *w, WindowEvent *e) DeleteWindow(w); } else { // SLD_SAVE_GAME, SLD_SAVE_SCENARIO copy clicked name to editbox - ttd_strlcpy(WP(w, querystr_d).text.buf, file->title, WP(w, querystr_d).text.maxlength); + ttd_strlcpy(WP(w, querystr_d).text.buf, file->name, WP(w, querystr_d).text.maxlength); UpdateTextBufferSize(&WP(w, querystr_d).text); InvalidateWidget(w, 9); }