diff options
Diffstat (limited to 'src/LineMarker.cxx')
-rw-r--r-- | src/LineMarker.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LineMarker.cxx b/src/LineMarker.cxx index 85d8a7b59..31287883a 100644 --- a/src/LineMarker.cxx +++ b/src/LineMarker.cxx @@ -521,7 +521,7 @@ void LineMarker::Draw(Surface *surface, const PRectangle &rcWhole, const Font *f // Hide cap by continuing a bit. constexpr XYPOSITION continueLength = 5.0; PRectangle rcBar = rcWhole; - const XYPOSITION widthBar = std::floor(rcWhole.Width() / 3.0); + const XYPOSITION widthBar = std::ceil(rcWhole.Width() / 3.0); rcBar.left = centreX - std::floor(widthBar / 2.0); rcBar.right = rcBar.left + widthBar; surface->SetClip(rcWhole); // Hide continued caps |