This commit is contained in:
Nicholas Marriott
2008-09-26 06:45:28 +00:00
parent df2b3bcf44
commit 62457bce0b
33 changed files with 224 additions and 224 deletions

View File

@ -1,4 +1,4 @@
/* $Id: screen.c,v 1.72 2008-09-25 20:08:54 nicm Exp $ */
/* $Id: screen.c,v 1.73 2008-09-26 06:45:26 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -51,8 +51,8 @@ screen_reinit(struct screen *s)
/* XXX */
grid_clear_lines(
s->grid, s->grid->hsize, s->grid->hsize + s->grid->sy - 1);
screen_clear_selection(s);
screen_clear_selection(s);
}
/* Destroy a screen. */
@ -150,7 +150,7 @@ screen_resize_y(struct screen *s, u_int sy)
}
if (sy < oy) {
/* Remove any remaining lines from the bottom. */
/* Remove any remaining lines from the bottom. */
grid_view_delete_lines(gd, sy, oy - sy);
if (s->cy >= sy)
s->cy = sy - 1;
@ -171,7 +171,7 @@ screen_resize_y(struct screen *s, u_int sy)
}
gd->sy = sy;
s->rupper = 0;
s->rlower = screen_size_y(s) - 1;
}