From aab404864e16f07307e44ed20310037c05e09ceb Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Thu, 3 Aug 2017 19:30:54 +0200 Subject: GRAPHICS: GUI: Fix flicker in selection --- graphics/macgui/mactextwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graphics/macgui') 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); -- cgit v1.2.3