aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Selection.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Selection.cxx')
-rw-r--r--src/Selection.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Selection.cxx b/src/Selection.cxx
index 385e2360e..0c02c198b 100644
--- a/src/Selection.cxx
+++ b/src/Selection.cxx
@@ -166,7 +166,7 @@ void SelectionRange::MinimizeVirtualSpace() {
}
Selection::Selection() : mainRange(0), moveExtends(false), tentativeMain(false), selType(selStream) {
- AddSelection(SelectionPosition(0));
+ AddSelection(SelectionRange(SelectionPosition(0)));
}
Selection::~Selection() {