From 9aa7e7b0559cbf2b4d6d298fe2d546eb5a5a956e Mon Sep 17 00:00:00 2001 From: Neil Date: Fri, 20 Apr 2018 13:35:24 +1000 Subject: More const and cast avoidance. --- 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