From c896b7994fd83b5a4280801fe08803172ebea6a5 Mon Sep 17 00:00:00 2001 From: Neil Date: Fri, 20 Apr 2018 12:52:30 +1000 Subject: Backport: Mark pointer to constant parameter as const. Backport of changeset 6721:33bf16396488. --- src/Editor.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Editor.cxx') diff --git a/src/Editor.cxx b/src/Editor.cxx index a65f5b235..730dd2e7e 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -1777,7 +1777,7 @@ void Editor::Paint(Surface *surfaceWindow, PRectangle rcArea) { // This is mostly copied from the Paint method but with some things omitted // such as the margin markers, line numbers, selection and caret // Should be merged back into a combined Draw method. -Sci::Position Editor::FormatRange(bool draw, Sci_RangeToFormat *pfr) { +Sci::Position Editor::FormatRange(bool draw, const Sci_RangeToFormat *pfr) { if (!pfr) return 0; -- cgit v1.2.3