aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2017-08-04 08:06:08 +0200
committerEugene Sandulenko2017-08-04 21:54:20 +0200
commit2aac665a2bd5c20b5b125711a32c0f677b65894f (patch)
treefadda5b0e1b461c2110fdb3bc67672c13b472c5f
parent1241ada63a1117c44b0df7d87cb0ad9c863fd837 (diff)
downloadscummvm-rg350-2aac665a2bd5c20b5b125711a32c0f677b65894f.tar.gz
scummvm-rg350-2aac665a2bd5c20b5b125711a32c0f677b65894f.tar.bz2
scummvm-rg350-2aac665a2bd5c20b5b125711a32c0f677b65894f.zip
GRAPHICS: MACGUI: Fix displaying two line text selections
-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 cc8c117fad..be8d75f422 100644
--- a/graphics/macgui/mactextwindow.cpp
+++ b/graphics/macgui/mactextwindow.cpp
@@ -194,7 +194,7 @@ void MacTextWindow::drawSelection() {
numLines = _mactext->getLineHeight(s.startRow);
x1 = s.startX;
}
- if (y + _scrollPos == lastLineStart) {
+ if (y + _scrollPos == lastLineStart + 1) {
numLines = _mactext->getLineHeight(s.endRow);
x2 = s.endX;
}