From faf8032d98758218e2ae4dd1380aa6e4ecded41d Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 27 Apr 2011 12:47:18 +1000 Subject: =?UTF-8?q?Fix=20for=20fold=20markers=20not=20connecting.=20Bug=20?= =?UTF-8?q?#3292474.=20From=20J=C3=A9r=C3=B4me=20LAFORGE.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/LineMarker.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3