aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2008-10-09 05:31:04 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2008-10-09 05:31:04 +0000
commit23e7da1ccb63d2cb9bea945060c6f5158e73d967 (patch)
tree72113538889a3d5fa879bb07e65881cdfb717d7d
parentb0d8393c05bd18d639af158f2d6e83ad2468da7b (diff)
downloadrtmux-23e7da1ccb63d2cb9bea945060c6f5158e73d967.tar.gz
rtmux-23e7da1ccb63d2cb9bea945060c6f5158e73d967.tar.bz2
rtmux-23e7da1ccb63d2cb9bea945060c6f5158e73d967.zip
Clear correct range.
-rw-r--r--log.c4
-rw-r--r--screen.c6
2 files changed, 4 insertions, 6 deletions
diff --git a/log.c b/log.c
index 16c7f503..631ec5b9 100644
--- a/log.c
+++ b/log.c
@@ -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)
{
diff --git a/screen.c b/screen.c
index 4b8329cd..550eb58a 100644
--- a/screen.c
+++ b/screen.c
@@ -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);
}