diff options
author | Neil <nyamatongwe@gmail.com> | 2018-04-20 13:35:24 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2018-04-20 13:35:24 +1000 |
commit | 9aa7e7b0559cbf2b4d6d298fe2d546eb5a5a956e (patch) | |
tree | b650fd03941bbae83cd6739dc7f020dcf62162d9 /src/Editor.h | |
parent | f81ae988af0acf5ffb503845f2354b18c411ddca (diff) | |
download | scintilla-mirror-9aa7e7b0559cbf2b4d6d298fe2d546eb5a5a956e.tar.gz |
More const and cast avoidance.
Diffstat (limited to 'src/Editor.h')
-rw-r--r-- | src/Editor.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |