From f81ae988af0acf5ffb503845f2354b18c411ddca Mon Sep 17 00:00:00 2001 From: Neil Date: Fri, 20 Apr 2018 12:52:30 +1000 Subject: Mark pointer to constant parameter as const. --- 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 3f6f8f2c8..7e763d7db 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -378,7 +378,7 @@ protected: // ScintillaBase subclass needs access to much of Editor void PaintSelMargin(Surface *surfaceWindow, PRectangle &rc); void RefreshPixMaps(Surface *surfaceWindow); void Paint(Surface *surfaceWindow, PRectangle rcArea); - Sci::Position FormatRange(bool draw, Sci_RangeToFormat *pfr); + Sci::Position FormatRange(bool draw, const Sci_RangeToFormat *pfr); int TextWidth(int style, const char *text); virtual void SetVerticalScrollPos() = 0; -- cgit v1.2.3