diff options
| author | Maxime Coste <mawww@kakoune.org> | 2021-10-24 09:04:14 +1100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2021-10-24 09:04:14 +1100 |
| commit | 5c1e10decbf5551a2e999972001a36fe4212cbce (patch) | |
| tree | ea60e58a7cdcdb79503582cbf8e8f7eb768d6e58 /src/string_utils.cc | |
| parent | 60165bacf93a6625571c38cc8ab7ea182b5b1dec (diff) | |
| parent | c57a86ce6264a4b141dfb462964e4dad3c1b154c (diff) | |
Merge remote-tracking branch 'lenormf/fix-4340'
Diffstat (limited to 'src/string_utils.cc')
| -rw-r--r-- | src/string_utils.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string_utils.cc b/src/string_utils.cc index 212cab2e..459bea0b 100644 --- a/src/string_utils.cc +++ b/src/string_utils.cc @@ -21,7 +21,7 @@ String trim_indent(StringView str) utf8::iterator it{str.begin(), str}; while (it != str.end() and is_horizontal_blank(*it)) - it++; + ++it; const StringView indent{str.begin(), it.base()}; return accumulate(str | split_after<StringView>('\n') | transform([&](auto&& line) { |
