notepad: Change file not saved alert title to match Windows' notepad.exe.
This commit is contained in:
parent
3ec165fd99
commit
724dd10ee8
|
@ -104,7 +104,7 @@ static int AlertFileNotSaved(LPCWSTR szFileName)
|
||||||
wsprintf(szMessage, szResource, szFileName[0] ? szFileName : szUntitled);
|
wsprintf(szMessage, szResource, szFileName[0] ? szFileName : szUntitled);
|
||||||
|
|
||||||
/* Load Caption */
|
/* Load Caption */
|
||||||
LoadString(Globals.hInstance, STRING_ERROR, szResource, SIZEOF(szResource));
|
LoadString(Globals.hInstance, STRING_NOTEPAD, szResource, SIZEOF(szResource));
|
||||||
|
|
||||||
/* Display modal */
|
/* Display modal */
|
||||||
return MessageBox(Globals.hMainWnd, szMessage, szResource, MB_ICONEXCLAMATION|MB_YESNOCANCEL);
|
return MessageBox(Globals.hMainWnd, szMessage, szResource, MB_ICONEXCLAMATION|MB_YESNOCANCEL);
|
||||||
|
|
Loading…
Reference in New Issue