[REACTOS] Replace comparison against TRUE with comparison against FALSE
[reactos.git] / reactos / base / shell / cmd / choice.c
index 70d8d43..8cf7c5e 100644 (file)
@@ -56,7 +56,7 @@ GetCharacterTimeout (LPTCH ch, DWORD dwMilliseconds)
 
     //if the event is a key pressed
     if ((lpBuffer.EventType == KEY_EVENT) &&
-        (lpBuffer.Event.KeyEvent.bKeyDown == TRUE))
+        (lpBuffer.Event.KeyEvent.bKeyDown != FALSE))
     {
         //read the key
 #ifdef _UNICODE