diff options
author | Tiago Cunha <tcunha@gmx.com> | 2009-08-20 11:24:33 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2009-08-20 11:24:33 +0000 |
commit | bcfb4f2a07ed6b4585f992b78de24fa164488b6f (patch) | |
tree | 8de46af7a5438f65f536025215cef67fd1ce48dd | |
parent | aa7c0f1ce8f217c5eb7655ece605e6096dd78f86 (diff) | |
download | rtmux-bcfb4f2a07ed6b4585f992b78de24fa164488b6f.tar.gz rtmux-bcfb4f2a07ed6b4585f992b78de24fa164488b6f.tar.bz2 rtmux-bcfb4f2a07ed6b4585f992b78de24fa164488b6f.zip |
Sync OpenBSD patchset 267:
Use the full screen width when printing output rather than one less.
-rw-r--r-- | window-more.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/window-more.c b/window-more.c index f0e611d7..c4acfbfd 100644 --- a/window-more.c +++ b/window-more.c @@ -1,4 +1,4 @@ -/* $Id: window-more.c,v 1.36 2009-08-09 16:50:57 tcunha Exp $ */ +/* $Id: window-more.c,v 1.37 2009-08-20 11:24:33 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -188,7 +188,7 @@ window_more_write_line( if (data->top + py < ARRAY_LENGTH(&data->list)) { msg = ARRAY_ITEM(&data->list, data->top + py); screen_write_nputs( - ctx, screen_size_x(s) - 1 - size, &gc, utf8flag, "%s", msg); + ctx, screen_size_x(s) - size, &gc, utf8flag, "%s", msg); } while (s->cx < screen_size_x(s) - size) screen_write_putc(ctx, &gc, ' '); |