diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Editor.cxx | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 4335e6386..15f1c9c29 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -4301,7 +4301,7 @@ bool Editor::PointInSelection(Point pt) {  	const SelectionPosition pos = SPositionFromLocation(pt, false, true);  	const Point ptPos = LocationFromPosition(pos);  	for (size_t r=0; r<sel.Count(); r++) { -		const SelectionRange range = sel.Range(r); +		const SelectionRange &range = sel.Range(r);  		if (range.Contains(pos)) {  			bool hit = true;  			if (pos == range.Start()) {  | 
