Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/console.cc')
-rw-r--r--src/client/console.cc2
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: