notepad: change file not saved alert title to match Windows'
notepad.exe
Thomas Kho
tkho at ucla.edu
Wed Jul 12 16:15:42 CDT 2006
notepad: change file not saved alert title to match Windows' notepad.exe
The notepad demo from bug http://bugs.winehq.org/show_bug.cgi?id=4211 brought
up this bug and the fix was verified with that demo.
Thomas Kho
---
programs/notepad/dialog.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/programs/notepad/dialog.c b/programs/notepad/dialog.c
index 1488af0..4125326 100644
--- a/programs/notepad/dialog.c
+++ b/programs/notepad/dialog.c
@@ -104,7 +104,7 @@ static int AlertFileNotSaved(LPCWSTR szF
wsprintf(szMessage, szResource, szFileName[0] ? szFileName : szUntitled);
/* Load Caption */
- LoadString(Globals.hInstance, STRING_ERROR, szResource, SIZEOF(szResource));
+ LoadString(Globals.hInstance, STRING_NOTEPAD, szResource, SIZEOF(szResource));
/* Display modal */
return MessageBox(Globals.hMainWnd, szMessage, szResource, MB_ICONEXCLAMATION|MB_YESNOCANCEL);
More information about the wine-patches
mailing list