diff options
author | Eugene Sandulenko | 2017-08-03 19:30:54 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-08-04 21:54:20 +0200 |
commit | aab404864e16f07307e44ed20310037c05e09ceb (patch) | |
tree | ed791633460ca5c7767b2282b7484812f948a44f /graphics | |
parent | 676b6082ab0bcbaf2a5303c7471f87c9cfe847dd (diff) | |
download | scummvm-rg350-aab404864e16f07307e44ed20310037c05e09ceb.tar.gz scummvm-rg350-aab404864e16f07307e44ed20310037c05e09ceb.tar.bz2 scummvm-rg350-aab404864e16f07307e44ed20310037c05e09ceb.zip |
GRAPHICS: GUI: Fix flicker in selection
Diffstat (limited to 'graphics')
-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 7873ea2a6c..506cd364f6 100644 --- a/graphics/macgui/mactextwindow.cpp +++ b/graphics/macgui/mactextwindow.cpp @@ -186,7 +186,7 @@ void MacTextWindow::drawSelection() { for (int y = start; y < end; y++) { if (!numLines) { x1 = 0; - x2 = getInnerDimensions().width(); + x2 = getInnerDimensions().width() - 1; if (y + _scrollPos == s.startY && s.startX > 0) { numLines = _mactext->getLineHeight(s.startRow); |