aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorEugene Sandulenko2017-08-07 11:59:32 +0200
committerEugene Sandulenko2017-08-07 12:18:20 +0200
commitabf6abdb65dce0e583c8ac870c86d366313a5ab8 (patch)
treef0d6b5a6630a3be4fe2aa18aaf84dbab9b666ead /graphics
parent6e690dbca9410f6dfbbcd3a008696d9ba288e40c (diff)
downloadscummvm-rg350-abf6abdb65dce0e583c8ac870c86d366313a5ab8.tar.gz
scummvm-rg350-abf6abdb65dce0e583c8ac870c86d366313a5ab8.tar.bz2
scummvm-rg350-abf6abdb65dce0e583c8ac870c86d366313a5ab8.zip
GRAPHICS: MACGUI: Correctly display last selection line
Diffstat (limited to 'graphics')
-rw-r--r--graphics/macgui/mactextwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/macgui/mactextwindow.cpp b/graphics/macgui/mactextwindow.cpp
index c56506c8da..2f0e95f15d 100644
--- a/graphics/macgui/mactextwindow.cpp
+++ b/graphics/macgui/mactextwindow.cpp
@@ -195,7 +195,7 @@ void MacTextWindow::drawSelection() {
numLines = _mactext->getLineHeight(s.startRow);
x1 = s.startX;
}
- if (y + _scrollPos > lastLineStart) {
+ if (y + _scrollPos >= lastLineStart) {
numLines = _mactext->getLineHeight(s.endRow);
x2 = s.endX;
}