krnl386.exe16: Avoid TRUE:FALSE conditional expressions.

This commit is contained in:
Michael Stefaniuc 2012-08-06 11:26:07 +02:00 committed by Alexandre Julliard
parent 2793be9c6d
commit dfa57c6e97
3 changed files with 3 additions and 3 deletions

View file

@ -61,7 +61,7 @@ static BOOL DOSVM_isdosexe;
*/
BOOL DOSVM_IsWin16(void)
{
return DOSVM_isdosexe ? FALSE : TRUE;
return !DOSVM_isdosexe;
}
/**********************************************************************

View file

@ -93,7 +93,7 @@ typedef struct {
*/
BOOL DOSVM_IsDos32(void)
{
return (dpmi_flag & 1) ? TRUE : FALSE;
return (dpmi_flag & 1) != 0;
}

View file

@ -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)