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
commitda5e3d776d016db9bb94e2c59291a9af54c44db0 (patch)
tree18a9ad7187864a284fd94c4283f1084cbf0fac0a /src/Editor.cxx
parent6bfc16f58bcb69e84d675ed85a8ffa073b1a5c5c (diff)
downloadscintilla-mirror-da5e3d776d016db9bb94e2c59291a9af54c44db0.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);