mirror of
https://github.com/mawww/kakoune.git
synced 2025-01-02 00:32:07 +03:00
UndoGroupOptimizer: fix count_byte_to
This commit is contained in:
parent
357799c966
commit
cf454ef904
@ -201,7 +201,7 @@ class UndoGroupOptimizer
|
||||
++pos.column;
|
||||
++count;
|
||||
}
|
||||
kak_assert(pos == endpos);
|
||||
kak_assert(pos == endpos or pos == BufferCoord(endpos.line+1, 0));
|
||||
return count;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user