aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorEugene Sandulenko2017-08-03 19:30:54 +0200
committerEugene Sandulenko2017-08-04 21:54:20 +0200
commitaab404864e16f07307e44ed20310037c05e09ceb (patch)
treeed791633460ca5c7767b2282b7484812f948a44f /graphics
parent676b6082ab0bcbaf2a5303c7471f87c9cfe847dd (diff)
downloadscummvm-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.cpp2
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);