aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/keyboard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agi/keyboard.cpp')
-rw-r--r--engines/agi/keyboard.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/agi/keyboard.cpp b/engines/agi/keyboard.cpp
index a66ec12e3f..5525cfef99 100644
--- a/engines/agi/keyboard.cpp
+++ b/engines/agi/keyboard.cpp
@@ -289,7 +289,8 @@ void AgiEngine::handleKeys(int key) {
_game.keypress = 0;
/* Remove all leading spaces */
- for (p = _game.inputBuffer; *p && *p == 0x20; p++);
+ for (p = _game.inputBuffer; *p && *p == 0x20; p++)
+ ;
/* Copy to internal buffer */
for (; *p; p++) {