aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2025-04-17 11:41:22 +1000
committerNeil <nyamatongwe@gmail.com>2025-04-17 11:41:22 +1000
commitd36d669ddfd447fbbe28faef18457177bf102881 (patch)
tree5de85b393d30cbdddee1895be35082b59c3b123f /src
parentb188e800b7bb0ad2c4f305e3f10f645c504f4e90 (diff)
downloadscintilla-mirror-d36d669ddfd447fbbe28faef18457177bf102881.tar.gz
Tweak SC_MARK_BAR to be slightly wider.
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 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