summaryrefslogtreecommitdiffstats
path: root/gui/console.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/console.cpp')
-rw-r--r--gui/console.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/console.cpp b/gui/console.cpp
index b7713c70c..7631e4336 100644
--- a/gui/console.cpp
+++ b/gui/console.cpp
@@ -366,7 +366,7 @@ int GUIConsole::NotifyTouch(TOUCH_STATE state, int x, int y)
{
mLastTouchY = y;
if (mCurrentLine == -1)
- mCurrentLine = mLastCount - mMaxRows;
+ mCurrentLine = mLastCount - 1;
else if (mCurrentLine > mSlideMultiplier)
mCurrentLine -= mSlideMultiplier;
else