=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: user.exe16: Use BOOL type where appropriate.

Alexandre Julliard julliard at winehq.org
Tue Nov 26 15:51:43 CST 2013


Module: wine
Branch: master
Commit: 861106c7eca448d1ceb5813f100b65b26fec93f7
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=861106c7eca448d1ceb5813f100b65b26fec93f7

Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date:   Mon Nov 25 22:27:37 2013 +0100

user.exe16: Use BOOL type where appropriate.

---

 dlls/user.exe16/user.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/user.exe16/user.c b/dlls/user.exe16/user.c
index 7a518b3..d16a1b4 100644
--- a/dlls/user.exe16/user.c
+++ b/dlls/user.exe16/user.c
@@ -560,11 +560,11 @@ BOOL16 WINAPI ClipCursor16( const RECT16 *rect )
 BOOL16 WINAPI GetCursorPos16( POINT16 *pt )
 {
     POINT pos;
-    if (!pt) return 0;
+    if (!pt) return FALSE;
     GetCursorPos(&pos);
     pt->x = pos.x;
     pt->y = pos.y;
-    return 1;
+    return TRUE;
 }
 
 




More information about the wine-cvs mailing list