diff --git a/win/win32/mswproc.c b/win/win32/mswproc.c index 754071f52..a439deca5 100644 --- a/win/win32/mswproc.c +++ b/win/win32/mswproc.c @@ -2796,6 +2796,8 @@ int NHMessageBox(HWND hWnd, LPCTSTR text, UINT type) { TCHAR title[MAX_LOADSTRING]; + if (g.program_state.exiting && !strcmp(text, "\n")) + text = "Press Enter to exit"; LoadString(GetNHApp()->hApp, IDS_APP_TITLE_SHORT, title, MAX_LOADSTRING);