diff options
author | alberth <alberth@openttd.org> | 2011-02-25 21:53:43 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2011-02-25 21:53:43 +0000 |
commit | 1dbc0a20bed5cd85035b4f84a649c4f7386b07ab (patch) | |
tree | 2913d6359a374885441eeb51a67c6e0c7e0f08ef /src/video/dedicated_v.cpp | |
parent | 87c8d97aca779cb227a4e015233cd266b63f2b79 (diff) | |
download | openttd-1dbc0a20bed5cd85035b4f84a649c4f7386b07ab.tar.xz |
(svn r22144) -Codechange: Unify 'while (true)' to 'for (;;)'
Diffstat (limited to 'src/video/dedicated_v.cpp')
-rw-r--r-- | src/video/dedicated_v.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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< */ |