Free entire screen when destroyed.

This commit is contained in:
Nicholas Marriott
2007-11-21 21:28:58 +00:00
parent f8686f126d
commit 1e5cb8d2e4
4 changed files with 9 additions and 7 deletions

View File

@ -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;
}