mirror of
https://github.com/mawww/kakoune.git
synced 2025-01-03 01:03:12 +03:00
Make utif_iterator more tolerant to invalid utf8
This commit is contained in:
parent
55959f2cb1
commit
152e46a6da
@ -104,7 +104,7 @@ public:
|
||||
check_invariant();
|
||||
other.check_invariant();
|
||||
CharCount dist = 0;
|
||||
while (other.m_it != m_it)
|
||||
while (other.m_it < m_it)
|
||||
{
|
||||
++dist;
|
||||
++other;
|
||||
|
Loading…
Reference in New Issue
Block a user