diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-09-26 06:45:28 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-09-26 06:45:28 +0000 |
commit | 62457bce0b6d23c1b6a8206582ac3dd206d4225d (patch) | |
tree | 42428d54daf3273242003827d16ae37d81e50230 /screen.c | |
parent | df2b3bcf44299d7060b3bc6c17c6e80a1f358692 (diff) | |
download | rtmux-62457bce0b6d23c1b6a8206582ac3dd206d4225d.tar.gz rtmux-62457bce0b6d23c1b6a8206582ac3dd206d4225d.tar.bz2 rtmux-62457bce0b6d23c1b6a8206582ac3dd206d4225d.zip |
Trim.
Diffstat (limited to 'screen.c')
-rw-r--r-- | screen.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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; } |