This commit is contained in:
Kovid Goyal 2016-12-18 14:02:03 +05:30
parent 3e1dac97ad
commit 315595aa77

View File

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