krnl386.exe16: Avoid TRUE:FALSE conditional expressions.
This commit is contained in:
parent
2793be9c6d
commit
dfa57c6e97
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue