mirror of
https://github.com/reactos/reactos.git
synced 2025-06-30 09:01:22 +00:00
[CMD] Fix the stop-batch prompt appearance: do not display it more than once in a row.
This commit is contained in:
parent
d0ced4ffdf
commit
ce543fbb72
1 changed files with 1 additions and 2 deletions
|
@ -151,10 +151,9 @@ BOOL CheckCtrlBreak(INT mode)
|
|||
|
||||
LoadString(CMD_ModuleHandle, STRING_COPY_OPTION, options, ARRAYSIZE(options));
|
||||
|
||||
/* we need to be sure the string arrives on the screen! */
|
||||
ConOutResPuts(STRING_CANCEL_BATCH_FILE);
|
||||
do
|
||||
{
|
||||
ConOutResPuts(STRING_CANCEL_BATCH_FILE);
|
||||
c = _totupper(cgetchar());
|
||||
} while (!(_tcschr(options, c) || c == _T('\3')) || !c);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue