diff options
author | Darkvater <darkvater@openttd.org> | 2005-07-19 20:43:53 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2005-07-19 20:43:53 +0000 |
commit | 99c17f8ac7bb12874739baacdfce9e82c956fe75 (patch) | |
tree | acc31e8a761d458e6a9b152580c706a62fbb965f | |
parent | e3a75901c9b4708e4f22b7e90047d83453d29378 (diff) | |
download | openttd-99c17f8ac7bb12874739baacdfce9e82c956fe75.tar.xz |
(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.
-rw-r--r-- | misc_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc_gui.c b/misc_gui.c index f7068dd3f..b012469b6 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); } |