=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: user32: Use boolean return values in boolean functions.
Alexandre Julliard
julliard at winehq.org
Tue Feb 4 13:55:05 CST 2014
Module: wine
Branch: master
Commit: bdc9b147b948b3476815c52f7fc53f4c29494800
URL: http://source.winehq.org/git/wine.git/?a=commit;h=bdc9b147b948b3476815c52f7fc53f4c29494800
Author: André Hentschel <nerv at dawncrow.de>
Date: Wed Jan 29 22:28:27 2014 +0100
user32: Use boolean return values in boolean functions.
---
dlls/user32/input.c | 2 +-
dlls/user32/nonclient.c | 2 +-
dlls/user32/painting.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/user32/input.c b/dlls/user32/input.c
index 078fa49..457e67c 100644
--- a/dlls/user32/input.c
+++ b/dlls/user32/input.c
@@ -266,7 +266,7 @@ BOOL WINAPI GetCursorInfo( PCURSORINFO pci )
{
BOOL ret;
- if (!pci) return 0;
+ if (!pci) return FALSE;
SERVER_START_REQ( get_thread_input )
{
diff --git a/dlls/user32/nonclient.c b/dlls/user32/nonclient.c
index d8d0807..5ea26dc 100644
--- a/dlls/user32/nonclient.c
+++ b/dlls/user32/nonclient.c
@@ -360,7 +360,7 @@ BOOL WINAPI DrawCaptionTempW (HWND hwnd, HDC hdc, const RECT *rect, HFONT hFont,
if (uFlags & 0x2000)
FIXME("undocumented flag (0x2000)!\n");
- return 0;
+ return FALSE;
}
diff --git a/dlls/user32/painting.c b/dlls/user32/painting.c
index 11447da..63e09c5 100644
--- a/dlls/user32/painting.c
+++ b/dlls/user32/painting.c
@@ -486,7 +486,7 @@ static BOOL CALLBACK dc_hook( HDC hDC, WORD code, DWORD_PTR data, LPARAM lParam
TRACE("hDC = %p, %u\n", hDC, code);
- if (!dce) return 0;
+ if (!dce) return FALSE;
assert( dce->hdc == hDC );
switch( code )
More information about the wine-cvs
mailing list