diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-11-21 21:28:58 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-11-21 21:28:58 +0000 |
commit | 1e5cb8d2e4511be550a409baa9060bbd16f2de0e (patch) | |
tree | 2fa7a5fe4e7c4ea6ebf9d6f1b0675e028ddb2020 /window-scroll.c | |
parent | f8686f126d28b08aabc1e56aa98ca9ee80e0c846 (diff) |
Free entire screen when destroyed.
Diffstat (limited to 'window-scroll.c')
-rw-r--r-- | window-scroll.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/window-scroll.c b/window-scroll.c index 2d37f0d0..0efd3fe0 100644 --- a/window-scroll.c +++ b/window-scroll.c @@ -1,4 +1,4 @@ -/* $Id: window-scroll.c,v 1.9 2007-11-21 19:53:57 nicm Exp $ */ +/* $Id: window-scroll.c,v 1.10 2007-11-21 21:28:58 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -95,7 +95,7 @@ window_scroll_draw(struct window *w, struct buffer *b, u_int py, u_int ny) struct screen_draw_ctx ctx; if (s->hsize != data->size) { - data->ox += s->hsize - data->size; + data->oy += s->hsize - data->size; data->size = s->hsize; } |