aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2012-06-27 10:42:37 +1000
committernyamatongwe <devnull@localhost>2012-06-27 10:42:37 +1000
commitbec4b64280daa0944f3fb186d9179c17261dec49 (patch)
tree41d8c4e4d152aafe195c0fee8a2b127cca3ef8a1
parent8ae6a4660ac6b602b7399977e4d908d7640a2325 (diff)
downloadscintilla-mirror-bec4b64280daa0944f3fb186d9179c17261dec49.tar.gz
Using the correct side margin for previous commit.
-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.