aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/Editor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 20209ed98..07f7beb39 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -3525,7 +3525,7 @@ void Editor::Paint(Surface *surfaceWindow, PRectangle rcArea) {
// Allow text at start of line to overlap 1 pixel into the margin as this displays
// serifs and italic stems for aliased text.
- const int leftTextOverlap = ((xOffset == 0) && (vs.rightMarginWidth > 0)) ? 1 : 0;
+ const int leftTextOverlap = ((xOffset == 0) && (vs.leftMarginWidth > 0)) ? 1 : 0;
// Remove selection margin from drawing area so text will not be drawn
// on it in unbuffered mode.