mirror of
https://github.com/reactos/reactos.git
synced 2025-04-20 04:20:46 +00:00
remove now-pointless if statement
add a little more debug output svn path=/trunk/; revision=17952
This commit is contained in:
parent
d91a17bcbc
commit
39fd46a7b3
1 changed files with 5 additions and 16 deletions
|
@ -240,8 +240,6 @@ CommandChoice (LPTSTR cmd, LPTSTR param)
|
|||
{
|
||||
ConInKey (&ir);
|
||||
|
||||
if (bNoPrompt != FALSE)
|
||||
{
|
||||
val = IsKeyInString (lpOptions,
|
||||
#ifdef _UNICODE
|
||||
ir.Event.KeyEvent.uChar.UnicodeChar,
|
||||
|
@ -249,18 +247,6 @@ CommandChoice (LPTSTR cmd, LPTSTR param)
|
|||
ir.Event.KeyEvent.uChar.AsciiChar,
|
||||
#endif
|
||||
bCaseSensitive);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
val = IsKeyInString (lpOptions,
|
||||
#ifdef _UNICODE
|
||||
ir.Event.KeyEvent.uChar.UnicodeChar,
|
||||
#else
|
||||
ir.Event.KeyEvent.uChar.AsciiChar,
|
||||
#endif
|
||||
bCaseSensitive);
|
||||
}
|
||||
|
||||
if (val >= 0)
|
||||
{
|
||||
|
@ -275,6 +261,9 @@ CommandChoice (LPTSTR cmd, LPTSTR param)
|
|||
}
|
||||
|
||||
freep (arg);
|
||||
#ifdef _DEBUG
|
||||
DebugPrintf (_T("ErrorLevel: %d\n"), nErrorLevel);
|
||||
#endif /* _DEBUG */
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue