aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2014-03-18 09:53:08 +1100
committerNeil <nyamatongwe@gmail.com>2014-03-18 09:53:08 +1100
commitc84fd8d919c0fd00ecf93a9264260a74a26f2f10 (patch)
tree629dc9a703248f6f103d9181605d4ee12158d6c9 /src/Editor.cxx
parentce485ff65d257dc4f19c21f40b82cac437e76196 (diff)
downloadscintilla-mirror-c84fd8d919c0fd00ecf93a9264260a74a26f2f10.tar.gz
Minor tweaks to avoid ststic checking warnings.
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 7802061f2..ac25189a2 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -1234,7 +1234,7 @@ slop | strict | jumps | even | Caret can go to the margin | When
1 | 1 | 1 | 1 | No, kept out of UZ | moved to put caret at 3UZ of the margin
*/
-Editor::XYScrollPosition Editor::XYScrollToMakeVisible(const SelectionRange range, const XYScrollOptions options) {
+Editor::XYScrollPosition Editor::XYScrollToMakeVisible(const SelectionRange &range, const XYScrollOptions options) {
PRectangle rcClient = GetTextRectangle();
Point pt = LocationFromPosition(range.caret);
Point ptAnchor = LocationFromPosition(range.anchor);