aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2011-04-27 12:47:18 +1000
committernyamatongwe <devnull@localhost>2011-04-27 12:47:18 +1000
commitbd7aa0cf9047940c75da9c9591d46a8dbfa97803 (patch)
tree1c23529a46308eac4181d61edb5c8f090016ea58 /src
parent2e7745b6130cd01c4a6bf886c3fd289cc564a60e (diff)
downloadscintilla-mirror-bd7aa0cf9047940c75da9c9591d46a8dbfa97803.tar.gz
Fix for fold markers not connecting. Bug #3292474.
From Jérôme LAFORGE.
Diffstat (limited to 'src')
-rw-r--r--src/LineMarker.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LineMarker.cxx b/src/LineMarker.cxx
index b97c9fd5a..73410e2cd 100644
--- a/src/LineMarker.cxx
+++ b/src/LineMarker.cxx
@@ -186,7 +186,7 @@ void LineMarker::Draw(Surface *surface, PRectangle &rcWhole, Font &fontForCharac
} else if (markType == SC_MARK_VLINE) {
surface->PenColour(body.allocated);
- surface->MoveTo(centreX, rcWhole.top);
+ surface->MoveTo(centreX, rcWhole.top + blobSize - (rcWhole.bottom - rcWhole.top)/2);
surface->LineTo(centreX, rcWhole.bottom);
} else if (markType == SC_MARK_LCORNER) {