Clear correct range.

This commit is contained in:
Nicholas Marriott 2008-10-09 05:31:04 +00:00
parent b0d8393c05
commit 23e7da1ccb
2 changed files with 4 additions and 6 deletions

4
log.c
View File

@ -1,4 +1,4 @@
/* $Id: log.c,v 1.8 2008-09-26 06:45:26 nicm Exp $ */
/* $Id: log.c,v 1.9 2008-10-09 05:31:04 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -65,7 +65,7 @@ log_open_tty(int level)
tzset();
}
/* Open logging to tty. */
/* Open logging to file. */
void
log_open_file(int level, const char *path)
{

View File

@ -1,4 +1,4 @@
/* $Id: screen.c,v 1.75 2008-09-29 16:59:47 nicm Exp $ */
/* $Id: screen.c,v 1.76 2008-10-09 05:31:04 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -48,9 +48,7 @@ screen_reinit(struct screen *s)
s->mode = MODE_CURSOR;
/* XXX */
grid_clear_lines(
s->grid, s->grid->hsize, s->grid->hsize + s->grid->sy - 1);
grid_clear_lines(s->grid, s->grid->hsize, s->grid->sy - 1);
screen_clear_selection(s);
}