Module: wine Branch: master Commit: 1c4456f7a22a14fb657cbb7f9fc840fe75404a82 URL: http://source.winehq.org/git/wine.git/?a=commit;h=1c4456f7a22a14fb657cbb7f9f...
Author: Frédéric Delanoy frederic.delanoy@gmail.com Date: Tue Oct 22 22:21:50 2013 +0200
user.exe16: Use BOOL type where appropriate.
---
dlls/user.exe16/comm.c | 6 +++--- dlls/user.exe16/user.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/user.exe16/comm.c b/dlls/user.exe16/comm.c index 9c99899..a9141db 100644 --- a/dlls/user.exe16/comm.c +++ b/dlls/user.exe16/comm.c @@ -83,7 +83,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(comm);
struct DosDeviceStruct { HANDLE handle; - int suspended; + BOOL suspended; int unget,xmit; int evtchar; /* events */ @@ -577,7 +577,7 @@ INT16 WINAPI SetCommBreak16(INT16 cid) return -1; }
- ptr->suspended = 1; + ptr->suspended = TRUE; ptr->commerror = 0; return 0; } @@ -594,7 +594,7 @@ INT16 WINAPI ClearCommBreak16(INT16 cid) FIXME("no cid=%d found!\n", cid); return -1; } - ptr->suspended = 0; + ptr->suspended = FALSE; ptr->commerror = 0; return 0; } diff --git a/dlls/user.exe16/user.c b/dlls/user.exe16/user.c index 9500f59..7a518b3 100644 --- a/dlls/user.exe16/user.c +++ b/dlls/user.exe16/user.c @@ -2792,7 +2792,7 @@ DWORD WINAPI DumpIcon16( SEGPTR pInfo, WORD *lpLen, */ static BOOL DRAG_QueryUpdate16( HWND hQueryWnd, SEGPTR spDragInfo ) { - BOOL bResult = 0; + BOOL bResult; WPARAM wParam; POINT pt, old_pt; LPDRAGINFO16 ptrDragInfo = MapSL(spDragInfo);