diff options
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/console.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/console.cc b/src/client/console.cc index 5fb382e..492d909 100644 --- a/src/client/console.cc +++ b/src/client/console.cc @@ -257,7 +257,7 @@ void keypressed(const SDL_keysym &keysym) break; case SDLK_KP6: case SDLK_RIGHT: - if (input_pos <= (*history_pos).size()) + if (input_pos < (*history_pos).size()) input_pos++; break; case SDLK_BACKSPACE: |