summaryrefslogtreecommitdiff
path: root/src/main.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2014-03-29 08:55:45 +0000
committerMaxime Coste <frrrwww@gmail.com>2014-03-29 08:55:45 +0000
commitda9d099f3bdf1806b647fd8deabac60552bb04b2 (patch)
tree1986b1e48ab3617e420b7936649d4bdbc5d907ab /src/main.cc
parentc38e14958fd53df2b697319920cd4d3c285ad372 (diff)
Remove Range struct, merge it back in Selection
Diffstat (limited to 'src/main.cc')
-rw-r--r--src/main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cc b/src/main.cc
index 681ffb0b..1be2212b 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -75,7 +75,7 @@ void register_env_vars()
}, {
"selection",
[](const String& name, const Context& context)
- { const Range& sel = context.selections().main();
+ { const Selection& sel = context.selections().main();
return content(context.buffer(), sel); }
}, {
"selections",