diff --git a/src/ansi.c b/src/ansi.c index b5df1eb..24daa27 100644 --- a/src/ansi.c +++ b/src/ansi.c @@ -2032,10 +2032,6 @@ static void MScrollV(Window *p, int n, int ys, int ye, int bce) if (n == 0) return; if (n > 0) { - if (n > 256) { - MScrollV(p, n - 256, ys, ye, bce); - n = 256; - } if (ye - ys + 1 < n) n = ye - ys + 1; if (compacthist) { @@ -2075,10 +2071,6 @@ static void MScrollV(Window *p, int n, int ys, int ye, int bce) if (cnt1 && cnt2) Scroll((char *)(p->w_mlines + ys), cnt1, cnt2, (char *)tmp); } else { - if (n < -256) { - MScrollV(p, n + 256, ys, ye, bce); - n = -256; - } n = -n; if (ye - ys + 1 < n) n = ye - ys + 1;