aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);