notepad: Change file not saved alert title to match Windows' notepad.exe.

This commit is contained in:
Thomas Kho 2006-07-12 14:15:42 -07:00 committed by Alexandre Julliard
parent 3ec165fd99
commit 724dd10ee8
1 changed files with 1 additions and 1 deletions

View File

@ -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);