commit | 293d72715255d64f8c104a92a137ddf7a2504045 | [log] [tgz] |
---|---|---|
author | Dees_Troy <dees_troy@teamw.in> | Wed Sep 26 10:43:46 2012 -0400 |
committer | Dees_Troy <dees_troy@teamw.in> | Wed Sep 26 10:43:46 2012 -0400 |
tree | 6752a46179ccb64dbed384da6281a54c27e4899a | |
parent | b9d1c6d461d2c208dbcbcbb3458c02e99bac348a [diff] |
Fix a problem with scrolling in the console
diff --git a/gui/console.cpp b/gui/console.cpp index b7713c7..7631e43 100644 --- a/gui/console.cpp +++ b/gui/console.cpp
@@ -366,7 +366,7 @@ { mLastTouchY = y; if (mCurrentLine == -1) - mCurrentLine = mLastCount - mMaxRows; + mCurrentLine = mLastCount - 1; else if (mCurrentLine > mSlideMultiplier) mCurrentLine -= mSlideMultiplier; else