summaryrefslogtreecommitdiff
path: root/src/utf8_iterator.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/utf8_iterator.hh')
-rw-r--r--src/utf8_iterator.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utf8_iterator.hh b/src/utf8_iterator.hh
index 20027aa3..4fa206b3 100644
--- a/src/utf8_iterator.hh
+++ b/src/utf8_iterator.hh
@@ -56,7 +56,7 @@ public:
utf8_iterator operator+(CharCount count) const
{
if (count < 0)
- return operator-(-count);
+ return operator-(-count);
utf8_iterator res = *this;
while (count--)
@@ -67,7 +67,7 @@ public:
utf8_iterator operator-(CharCount count) const
{
if (count < 0)
- return operator+(-count);
+ return operator+(-count);
utf8_iterator res = *this;
while (count--)