aboutsummaryrefslogtreecommitdiff
path: root/graphics/macgui/mactextwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/macgui/mactextwindow.cpp')
-rw-r--r--graphics/macgui/mactextwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/macgui/mactextwindow.cpp b/graphics/macgui/mactextwindow.cpp
index 944eebdcc3..905eaa5168 100644
--- a/graphics/macgui/mactextwindow.cpp
+++ b/graphics/macgui/mactextwindow.cpp
@@ -344,7 +344,7 @@ bool MacTextWindow::processEvent(Common::Event &event) {
}
void MacTextWindow::startMarking(int x, int y) {
- x -= getInnerDimensions().left;
+ x -= getInnerDimensions().left - 2;
y -= getInnerDimensions().top;
y += _scrollPos;
@@ -357,7 +357,7 @@ void MacTextWindow::startMarking(int x, int y) {
}
void MacTextWindow::updateTextSelection(int x, int y) {
- x -= getInnerDimensions().left;
+ x -= getInnerDimensions().left - 2;
y -= getInnerDimensions().top;
y += _scrollPos;