diff options
author | Eugene Sandulenko | 2017-08-04 08:06:08 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-08-04 21:54:20 +0200 |
commit | 2aac665a2bd5c20b5b125711a32c0f677b65894f (patch) | |
tree | fadda5b0e1b461c2110fdb3bc67672c13b472c5f | |
parent | 1241ada63a1117c44b0df7d87cb0ad9c863fd837 (diff) | |
download | scummvm-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.cpp | 2 |
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; } |