user32: Use boolean return values in boolean functions.

This commit is contained in:
André Hentschel 2014-01-29 22:28:27 +01:00 committed by Alexandre Julliard
parent c8426495fc
commit bdc9b147b9
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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