mirror of https://github.com/OpenTTD/OpenTTD
(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.
parent
e3a75901c9
commit
99c17f8ac7
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue