diff options
author | Stijn Buys <ingar@osirion.org> | 2008-02-09 23:06:00 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-02-09 23:06:00 +0000 |
commit | 31959bc355c471c573828bf63932850e46c4b5bc (patch) | |
tree | cc473901e88926e36c89775a7fc97a51da948498 /src/client/console.cc | |
parent | d281384f727583b39b8e97ffea58b278ecc8dd47 (diff) |
more entities
Diffstat (limited to 'src/client/console.cc')
-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 1c2ab1e..c59f477 100644 --- a/src/client/console.cc +++ b/src/client/console.cc @@ -261,7 +261,7 @@ void keypressed(const SDL_keysym &keysym) input_pos++; break; case SDLK_BACKSPACE: - if ((*history.rbegin()).size() && input_pos) { + if ((*history_pos).size() && input_pos) { (*history_pos).erase(input_pos-1, 1); input_pos--; } |