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/hotkeys.cpp | |
parent | 87c8d97aca779cb227a4e015233cd266b63f2b79 (diff) | |
download | openttd-1dbc0a20bed5cd85035b4f84a649c4f7386b07ab.tar.xz |
(svn r22144) -Codechange: Unify 'while (true)' to 'for (;;)'
Diffstat (limited to 'src/hotkeys.cpp')
-rw-r--r-- | src/hotkeys.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hotkeys.cpp b/src/hotkeys.cpp index 5ad8f2bf9..2434686cc 100644 --- a/src/hotkeys.cpp +++ b/src/hotkeys.cpp @@ -90,7 +90,7 @@ static uint16 ParseKeycode(const char *start, const char *end) { assert(start <= end); uint16 keycode = 0; - while (true) { + for (;;) { const char *cur = start; while (*cur != '+' && cur != end) cur++; uint16 code = ParseCode(start, cur); |