diff options
author | Neil <nyamatongwe@gmail.com> | 2018-04-20 12:52:30 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2018-04-20 12:52:30 +1000 |
commit | c896b7994fd83b5a4280801fe08803172ebea6a5 (patch) | |
tree | b093651520f7278af90082a7d482b77d9165945c /src/Editor.cxx | |
parent | 4d9c84bfea91a1e22bbc4b94dd3bbae77af0e2e2 (diff) | |
download | scintilla-mirror-c896b7994fd83b5a4280801fe08803172ebea6a5.tar.gz |
Backport: Mark pointer to constant parameter as const.
Backport of changeset 6721:33bf16396488.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r-- | src/Editor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; |