From 15789ad27ff66c8928d7dc90683af11d6c045009 Mon Sep 17 00:00:00 2001 From: mitchell Date: Sun, 6 May 2018 09:24:26 -0400 Subject: Backport: More const and cast avoidance. Backport of changeset 6722:9a20edc44615. --- src/Editor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Editor.h') diff --git a/src/Editor.h b/src/Editor.h index 7e763d7db..defb5aea7 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -375,7 +375,7 @@ protected: // ScintillaBase subclass needs access to much of Editor void LinesJoin(); void LinesSplit(int pixelWidth); - void PaintSelMargin(Surface *surfaceWindow, PRectangle &rc); + void PaintSelMargin(Surface *surfaceWindow, const PRectangle &rc); void RefreshPixMaps(Surface *surfaceWindow); void Paint(Surface *surfaceWindow, PRectangle rcArea); Sci::Position FormatRange(bool draw, const Sci_RangeToFormat *pfr); -- cgit v1.2.3