user.exe16: Use BOOL type where appropriate.

This commit is contained in:
Frédéric Delanoy 2013-10-22 22:21:50 +02:00 committed by Alexandre Julliard
parent e0e7a0770b
commit 1c4456f7a2
2 changed files with 4 additions and 4 deletions

View file

@ -83,7 +83,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(comm);
struct DosDeviceStruct { struct DosDeviceStruct {
HANDLE handle; HANDLE handle;
int suspended; BOOL suspended;
int unget,xmit; int unget,xmit;
int evtchar; int evtchar;
/* events */ /* events */
@ -577,7 +577,7 @@ INT16 WINAPI SetCommBreak16(INT16 cid)
return -1; return -1;
} }
ptr->suspended = 1; ptr->suspended = TRUE;
ptr->commerror = 0; ptr->commerror = 0;
return 0; return 0;
} }
@ -594,7 +594,7 @@ INT16 WINAPI ClearCommBreak16(INT16 cid)
FIXME("no cid=%d found!\n", cid); FIXME("no cid=%d found!\n", cid);
return -1; return -1;
} }
ptr->suspended = 0; ptr->suspended = FALSE;
ptr->commerror = 0; ptr->commerror = 0;
return 0; return 0;
} }

View file

@ -2792,7 +2792,7 @@ DWORD WINAPI DumpIcon16( SEGPTR pInfo, WORD *lpLen,
*/ */
static BOOL DRAG_QueryUpdate16( HWND hQueryWnd, SEGPTR spDragInfo ) static BOOL DRAG_QueryUpdate16( HWND hQueryWnd, SEGPTR spDragInfo )
{ {
BOOL bResult = 0; BOOL bResult;
WPARAM wParam; WPARAM wParam;
POINT pt, old_pt; POINT pt, old_pt;
LPDRAGINFO16 ptrDragInfo = MapSL(spDragInfo); LPDRAGINFO16 ptrDragInfo = MapSL(spDragInfo);