Commit dfa57c6e authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

krnl386.exe16: Avoid TRUE:FALSE conditional expressions.

parent 2793be9c
......@@ -61,7 +61,7 @@ static BOOL DOSVM_isdosexe;
*/
BOOL DOSVM_IsWin16(void)
{
return DOSVM_isdosexe ? FALSE : TRUE;
return !DOSVM_isdosexe;
}
/**********************************************************************
......
......@@ -93,7 +93,7 @@ typedef struct {
*/
BOOL DOSVM_IsDos32(void)
{
return (dpmi_flag & 1) ? TRUE : FALSE;
return (dpmi_flag & 1) != 0;
}
......
......@@ -716,7 +716,7 @@ static void VGA_InstallTimer(unsigned Rate)
static BOOL VGA_IsTimerRunning(void)
{
return VGA_timer_thread ? TRUE : FALSE;
return VGA_timer_thread != 0;
}
static HANDLE VGA_AlphaConsole(void)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment