mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 17:27:18 +00:00
user.exe16: Use BOOL type where appropriate.
This commit is contained in:
parent
e0e7a0770b
commit
1c4456f7a2
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue