diff --git a/kitty/line-buf.c b/kitty/line-buf.c index 7f86e95d6..93aa92bc5 100644 --- a/kitty/line-buf.c +++ b/kitty/line-buf.c @@ -310,7 +310,8 @@ insert_lines(LineBuf *self, PyObject *args) { Py_RETURN_NONE; } -void linebuf_delete_lines(LineBuf *self, index_type num, index_type y, index_type bottom) { +void +linebuf_delete_lines(LineBuf *self, index_type num, index_type y, index_type bottom) { index_type i; index_type ylimit = bottom + 1; num = MIN(bottom + 1 - y, num);