summaryrefslogtreecommitdiff
path: root/src/word_db.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/word_db.cc
parent6ee68b5b0896a3b8d1f1ed6b06a99d2b08686a23 (diff)
Fix some trailing spaces and a tab that sneaked into the code base
Diffstat (limited to 'src/word_db.cc')
-rw-r--r--src/word_db.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/word_db.cc b/src/word_db.cc
index 8bcfa250..a5d59e4c 100644
--- a/src/word_db.cc
+++ b/src/word_db.cc
@@ -21,7 +21,7 @@ static WordList get_words(StringView content, ConstArrayView<Codepoint> extra_wo
{
if (is_word(*it))
{
- const char* word = it.base();
+ const char* word = it.base();
while (++it != content.end() and is_word(*it))
{}
res.emplace_back(word, it.base());