UndoGroupOptimizer: fix count_byte_to

This commit is contained in:
Maxime Coste 2013-06-06 19:39:48 +02:00
parent 357799c966
commit cf454ef904

View File

@ -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;
}