aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2018-04-20 12:52:30 +1000
committerNeil <nyamatongwe@gmail.com>2018-04-20 12:52:30 +1000
commitf81ae988af0acf5ffb503845f2354b18c411ddca (patch)
treea8903493efa2377b1c140019135b9c539b0d5066 /src/Editor.cxx
parent96574354e494ab49f27d137b18d7105436284eda (diff)
downloadscintilla-mirror-f81ae988af0acf5ffb503845f2354b18c411ddca.tar.gz
Mark pointer to constant parameter as const.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r--src/Editor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index e3e90b5de..a2cd99770 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;