summaryrefslogtreecommitdiffstats
path: root/gui
diff options
context:
space:
mode:
authorDees_Troy <dees_troy@teamw.in>2012-09-26 16:43:46 +0200
committerDees_Troy <dees_troy@teamw.in>2012-09-26 16:43:46 +0200
commit293d72715255d64f8c104a92a137ddf7a2504045 (patch)
tree6752a46179ccb64dbed384da6281a54c27e4899a /gui
parentAllow spaces in backup names (diff)
downloadandroid_bootable_recovery-293d72715255d64f8c104a92a137ddf7a2504045.tar
android_bootable_recovery-293d72715255d64f8c104a92a137ddf7a2504045.tar.gz
android_bootable_recovery-293d72715255d64f8c104a92a137ddf7a2504045.tar.bz2
android_bootable_recovery-293d72715255d64f8c104a92a137ddf7a2504045.tar.lz
android_bootable_recovery-293d72715255d64f8c104a92a137ddf7a2504045.tar.xz
android_bootable_recovery-293d72715255d64f8c104a92a137ddf7a2504045.tar.zst
android_bootable_recovery-293d72715255d64f8c104a92a137ddf7a2504045.zip
Diffstat (limited to '')
-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