diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-11-20 21:45:26 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-11-20 21:45:26 +0000 |
commit | f53b91736740df62333f8c2521a6ac70d4bf6cc2 (patch) | |
tree | 452dc9139ce7f149d0e16bf62f410ae09f9ed3f7 | |
parent | ceab127fac8b226ea2907261bdd6337b79d5d550 (diff) | |
download | rtmux-f53b91736740df62333f8c2521a6ac70d4bf6cc2.tar.gz rtmux-f53b91736740df62333f8c2521a6ac70d4bf6cc2.tar.bz2 rtmux-f53b91736740df62333f8c2521a6ac70d4bf6cc2.zip |
Oops, mustn't forget this.
-rw-r--r-- | screen.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: screen.c,v 1.25 2007-11-20 21:42:29 nicm Exp $ */ +/* $Id: screen.c,v 1.26 2007-11-20 21:45:26 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -128,10 +128,12 @@ screen_resize(struct screen *s, u_int sx, u_int sy) s->dx = sx; s->dy = sy; - + s->rupper = 0; s->rlower = s->dy - 1; + s->ysize = dy; + if (sy < oy) { ny = oy - sy; if (ny > s->cy) |