From 765390e6db2b69976448e92d9a86516ead9b0c09 Mon Sep 17 00:00:00 2001 From: Neil Date: Mon, 27 Mar 2023 09:29:48 +1100 Subject: Declare const where possible. --- src/MarginView.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/MarginView.cxx') diff --git a/src/MarginView.cxx b/src/MarginView.cxx index 7f63f3047..6cc961db2 100644 --- a/src/MarginView.cxx +++ b/src/MarginView.cxx @@ -92,7 +92,7 @@ void DrawWrapMarker(Surface *surface, PRectangle rcPlace, } }; - Relative rel = { x0, isEndMarker ? 1 : -1, y0, 1, widthStroke / 2.0f }; + const Relative rel = { x0, isEndMarker ? 1 : -1, y0, 1, widthStroke / 2.0f }; // arrow head const Point head[] = { -- cgit v1.2.3