diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-01-10 01:51:22 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-01-10 01:51:22 +0000 |
commit | a1b43faa436430e76da7da5ee321113a87ce719c (patch) | |
tree | 3c2a5d5338d5db43f91ceccbb6d2fbea97f022ba /screen-write.c | |
parent | 430d2194362e177b55c5fc66ee95f3a968ed62e1 (diff) | |
download | rtmux-a1b43faa436430e76da7da5ee321113a87ce719c.tar.gz rtmux-a1b43faa436430e76da7da5ee321113a87ce719c.tar.bz2 rtmux-a1b43faa436430e76da7da5ee321113a87ce719c.zip |
Trim spaces.
Diffstat (limited to 'screen-write.c')
-rw-r--r-- | screen-write.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/screen-write.c b/screen-write.c index 7c2fda4d..2b3a7c17 100644 --- a/screen-write.c +++ b/screen-write.c @@ -1,4 +1,4 @@ -/* $Id: screen-write.c,v 1.22 2009-01-09 23:57:42 nicm Exp $ */ +/* $Id: screen-write.c,v 1.23 2009-01-10 01:51:22 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -210,7 +210,7 @@ void screen_write_insertcharacter(struct screen_write_ctx *ctx, u_int nx) { struct screen *s = ctx->s; - + if (nx == 0) nx = 1; @@ -320,7 +320,7 @@ screen_write_clearendofline(struct screen_write_ctx *ctx) if (s->cx <= sx - 1) grid_view_clear(s->grid, s->cx, s->cy, sx - s->cx, 1); - + if (ctx->write != NULL) ctx->write(ctx->data, TTY_CLEARENDOFLINE); } |