Fixed an annoying jump-to-last-line-on-END-bug (reported by Waldemar)

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9082 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini
2004-09-27 22:50:23 +00:00
parent f02249c7c2
commit c3c637606a
+1 -1
View File
@@ -3089,7 +3089,7 @@ BTextView::HandlePageKey(uint32 inPageKey)
line = (*fLines)[CurrentLine() + 1];
fClickOffset = PreviousInitialByte(line->offset);
} else
fClickOffset = fText->Length();
fClickOffset = fText->Length() - 1;
ScrollToOffset(fClickOffset);
if (shiftDown) {