while (TRUE)
{
ConInKey (&ir);
-
- if (bNoPrompt != FALSE)
- {
- val = IsKeyInString (lpOptions,
-#ifdef _UNICODE
- ir.Event.KeyEvent.uChar.UnicodeChar,
-#else
- ir.Event.KeyEvent.uChar.AsciiChar,
-#endif
- bCaseSensitive);
- }
- else
- {
- val = IsKeyInString (lpOptions,
+ val = IsKeyInString (lpOptions,
#ifdef _UNICODE
ir.Event.KeyEvent.uChar.UnicodeChar,
#else
ir.Event.KeyEvent.uChar.AsciiChar,
-#endif
+#endif
bCaseSensitive);
- }
if (val >= 0)
{
}
freep (arg);
+#ifdef _DEBUG
+ DebugPrintf (_T("ErrorLevel: %d\n"), nErrorLevel);
+#endif /* _DEBUG */
return 0;
}