summaryrefslogtreecommitdiff
path: root/src/selectors.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2018-04-05 08:52:33 +1000
committerMaxime Coste <mawww@kakoune.org>2018-04-05 08:52:33 +1000
commit71a1893a5eeae6d230b07b8f9ee47288655be4f9 (patch)
tree413cc40ce918f4de3ec0432159abd2be90e9f1d6 /src/selectors.cc
parent6ee68b5b0896a3b8d1f1ed6b06a99d2b08686a23 (diff)
Fix some trailing spaces and a tab that sneaked into the code base
Diffstat (limited to 'src/selectors.cc')
-rw-r--r--src/selectors.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/selectors.cc b/src/selectors.cc
index d8ca897b..124958e2 100644
--- a/src/selectors.cc
+++ b/src/selectors.cc
@@ -353,7 +353,7 @@ find_surrounding(const Container& container, Iterator pos,
first = utf8::previous(first, container.begin());
if (auto res = find_opening(first+1, container, opening, closing, level, nestable))
- first = (flags & ObjectFlags::Inner) ? res->second : res->first;
+ first = (flags & ObjectFlags::Inner) ? res->second : res->first;
else
return {};
}
@@ -370,7 +370,7 @@ find_surrounding(const Container& container, Iterator pos,
if (auto res = find_closing(last, container, opening, closing, level, nestable))
last = (flags & ObjectFlags::Inner) ? utf8::previous(res->first, container.begin())
- : utf8::previous(res->second, container.begin());
+ : utf8::previous(res->second, container.begin());
else
return {};
}