(svn r22144) -Codechange: Unify 'while (true)' to 'for (;;)'
This commit is contained in:
@@ -97,7 +97,7 @@ static void WINAPI CheckForConsoleInput()
|
||||
#else
|
||||
DWORD nb;
|
||||
HANDLE hStdin = GetStdHandle(STD_INPUT_HANDLE);
|
||||
while (true) {
|
||||
for (;;) {
|
||||
ReadFile(hStdin, _win_console_thread_buffer, lengthof(_win_console_thread_buffer), &nb, NULL);
|
||||
/* Signal input waiting that input is read and wait for it being handled
|
||||
* SignalObjectAndWait() should be used here, but it's unsupported in Win98< */
|
||||
|
Reference in New Issue
Block a user