mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 16:33:38 +00:00
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 a new issue