notepad: Use BOOL type where appropriate (try 2)
Frédéric Delanoy
frederic.delanoy at gmail.com
Wed Oct 16 05:29:20 CDT 2013
try 2: Avoid changing SendMessage calls
---
programs/notepad/dialog.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/programs/notepad/dialog.c b/programs/notepad/dialog.c
index 1ea2ef9..9919290 100644
--- a/programs/notepad/dialog.c
+++ b/programs/notepad/dialog.c
@@ -1254,7 +1254,7 @@ static INT_PTR WINAPI DIALOG_PAGESETUP_DlgProc(HWND hDlg, UINT msg, WPARAM wPara
static const WCHAR sorryW[] = { 'S','o','r','r','y',',',' ','n','o',' ','h','e','l','p',' ','a','v','a','i','l','a','b','l','e',0 };
static const WCHAR helpW[] = { 'H','e','l','p',0 };
MessageBoxW(Globals.hMainWnd, sorryW, helpW, MB_ICONEXCLAMATION);
- return TRUE;
+ return 1;
}
default:
@@ -1273,5 +1273,5 @@ static INT_PTR WINAPI DIALOG_PAGESETUP_DlgProc(HWND hDlg, UINT msg, WPARAM wPara
break;
}
- return FALSE;
+ return 0;
}
--
1.8.4
More information about the wine-patches
mailing list