aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/MarginView.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MarginView.cxx b/src/MarginView.cxx
index d2aad0c39..cc243f41f 100644
--- a/src/MarginView.cxx
+++ b/src/MarginView.cxx
@@ -87,7 +87,7 @@ void DrawWrapMarker(Surface *surface, PRectangle rcPlace,
XYPOSITION yBase;
int yDir;
XYPOSITION halfWidth;
- Point At(XYPOSITION xRelative, XYPOSITION yRelative) noexcept {
+ Point At(XYPOSITION xRelative, XYPOSITION yRelative) const noexcept {
return Point(xBase + xDir * xRelative + halfWidth, yBase + yDir * yRelative + halfWidth);
}
};