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