diff options
Diffstat (limited to 'screen.c')
-rw-r--r-- | screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -449,7 +449,7 @@ void crop_to_rect(int x1, int y1, int x2, int y2){ sprintf(screen.l[i].s, "%s", screen.l[i+y1].s + x1); screen.l[i].lst = screen.l[i+y1].lst - x1; } - while (i<=y2){ + while (i< HEIGHT){ screen.l[i].lst = -1; screen.l[i].s[0]= '\0'; i ++; |