# HG changeset patch # User Darkvater # Date 1121805833 0 # Node ID f5baf0b864517713aa1e004a357e4c2e7c2554de # Parent 5ec30e7c124e6fc89b32a0e7550f9b119e4ad506 (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. diff -r 5ec30e7c124e -r f5baf0b86451 misc_gui.c --- a/misc_gui.c Tue Jul 19 16:34:46 2005 +0000 +++ b/misc_gui.c Tue Jul 19 20:43:53 2005 +0000 @@ -1292,7 +1292,7 @@ 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); }