From: Dmitry D. Chernov Date: Mon, 11 Sep 2023 17:59:52 +0000 (+1000) Subject: Fix mixed up message and title when opening a non-existent recent file X-Git-Url: https://deadsoftware.ru/gitweb?p=d2df-editor.git;a=commitdiff_plain;h=029af8474e551ee355f74aa3cbf87c8816d98230 Fix mixed up message and title when opening a non-existent recent file --- diff --git a/src/editor/f_main.pas b/src/editor/f_main.pas index 0c912cf..e5389bd 100644 --- a/src/editor/f_main.pas +++ b/src/editor/f_main.pas @@ -2548,7 +2548,7 @@ begin if FileExists(fn) then OpenMap(fn, g_ExtractFilePathName(s)) else - Application.MessageBox('', 'File not available anymore', MB_OK); + Application.MessageBox('File not available anymore', '', MB_OK); // if Application.MessageBox(PChar(MsgMsgDelRecentPrompt), PChar(MsgMsgDelRecent), MB_ICONQUESTION or MB_YESNO) = idYes then // begin // RecentFiles.Delete(n);