summaryrefslogtreecommitdiffstats
path: root/screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'screen.c')
-rw-r--r--screen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/screen.c b/screen.c
index 0c805e03..06f3b99b 100644
--- a/screen.c
+++ b/screen.c
@@ -1,4 +1,4 @@
-/* $Id: screen.c,v 1.26 2007-11-20 21:45:26 nicm Exp $ */
+/* $Id: screen.c,v 1.27 2007-11-20 21:45:53 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -132,7 +132,7 @@ screen_resize(struct screen *s, u_int sx, u_int sy)
s->rupper = 0;
s->rlower = s->dy - 1;
- s->ysize = dy;
+ s->ysize = sy;
if (sy < oy) {
ny = oy - sy;