diff options
Diffstat (limited to 'src/ViewStyle.cxx')
-rw-r--r-- | src/ViewStyle.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ViewStyle.cxx b/src/ViewStyle.cxx index 2700fb016..3e5504e74 100644 --- a/src/ViewStyle.cxx +++ b/src/ViewStyle.cxx @@ -430,7 +430,7 @@ int ViewStyle::ExternalMarginWidth() const { int ViewStyle::MarginFromLocation(Point pt) const { int margin = -1; - int x = textStart - fixedColumnWidth; + int x = marginInside ? 0 : -fixedColumnWidth; for (size_t i = 0; i < ms.size(); i++) { if ((pt.x >= x) && (pt.x < x + ms[i].width)) margin = static_cast<int>(i); |