diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-09-29 18:57:15 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-09-29 18:57:15 +0000 |
commit | 34eb15461730bc88a41f6d6a166c6380aad14356 (patch) | |
tree | bc348144e31b0cf535bc93648d64923d3fc53d6b | |
parent | e30a3478f53a0652e2b3611b2f7f87b9aced68fc (diff) | |
download | rtmux-34eb15461730bc88a41f6d6a166c6380aad14356.tar.gz rtmux-34eb15461730bc88a41f6d6a166c6380aad14356.tar.bz2 rtmux-34eb15461730bc88a41f6d6a166c6380aad14356.zip |
Grr missed one.
-rw-r--r-- | screen.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: screen.c,v 1.16 2007-09-29 18:51:26 nicm Exp $ */ +/* $Id: screen.c,v 1.17 2007-09-29 18:57:15 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -592,7 +592,7 @@ screen_insert_lines_region(struct screen *s, u_int py, u_int ny) screen_free_lines(s, (s->ry_lower + 1) - ny, ny); - if (py != s->ry_upper) + if (py != s->ry_lower) screen_move_lines(s, py + ny, py, (s->ry_lower + 1) - py - ny); screen_make_lines(s, py, ny); |