From 1dbc0a20bed5cd85035b4f84a649c4f7386b07ab Mon Sep 17 00:00:00 2001 From: alberth Date: Fri, 25 Feb 2011 21:53:43 +0000 Subject: (svn r22144) -Codechange: Unify 'while (true)' to 'for (;;)' --- src/video/dedicated_v.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/video') diff --git a/src/video/dedicated_v.cpp b/src/video/dedicated_v.cpp index 9942a347d..10a1b92b6 100644 --- a/src/video/dedicated_v.cpp +++ b/src/video/dedicated_v.cpp @@ -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< */ -- cgit v1.2.3-54-g00ecf