diff options
author | Oliver Kiehl | 2002-12-14 22:37:42 +0000 |
---|---|---|
committer | Oliver Kiehl | 2002-12-14 22:37:42 +0000 |
commit | d58ec10ea2abf739ee129fef893397a45d8da04c (patch) | |
tree | b2531466f4d2bf1f606562fadb37d7071e4d9c49 /gui | |
parent | e91eda059efa9170f24998b76bca606e1d4ccd71 (diff) | |
download | scummvm-rg350-d58ec10ea2abf739ee129fef893397a45d8da04c.tar.gz scummvm-rg350-d58ec10ea2abf739ee129fef893397a45d8da04c.tar.bz2 scummvm-rg350-d58ec10ea2abf739ee129fef893397a45d8da04c.zip |
oops
svn-id: r5972
Diffstat (limited to 'gui')
-rw-r--r-- | gui/console.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/console.cpp b/gui/console.cpp index 8cf8df98c3..a416d57192 100644 --- a/gui/console.cpp +++ b/gui/console.cpp @@ -282,7 +282,7 @@ void ConsoleDialog::killLastWord() for (int i = _currentPos; i < _promptEndPos; i++) _buffer[i % kBufferSize] = _buffer[(i+cnt+1) % kBufferSize]; _buffer[_promptEndPos % kBufferSize] = ' '; - _promptEndPos--; + _promptEndPos -= cnt + 1; } void ConsoleDialog::nextLine() |