From da5e3d776d016db9bb94e2c59291a9af54c44db0 Mon Sep 17 00:00:00 2001 From: Neil Date: Tue, 18 Mar 2014 09:53:08 +1100 Subject: Minor tweaks to avoid ststic checking warnings. --- src/Editor.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Editor.cxx') 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); -- cgit v1.2.3