summaryrefslogtreecommitdiffstats
path: root/screen-write.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-06-25 16:34:50 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-06-25 16:34:50 +0000
commitbb459beb032cfa9473cdef21ef645b350d61728c (patch)
treed924c499381cbc383fd139676d54c6dd9ae9e119 /screen-write.c
parent8df98d1f5b92a085ef874389e2244de3a4f5ee43 (diff)
Whitespace and more syncing.
Diffstat (limited to 'screen-write.c')
-rw-r--r--screen-write.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/screen-write.c b/screen-write.c
index a60b126b..2bbfb296 100644
--- a/screen-write.c
+++ b/screen-write.c
@@ -1,4 +1,4 @@
-/* $Id: screen-write.c,v 1.51 2009-06-25 16:21:32 nicm Exp $ */
+/* $Id $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -89,7 +89,7 @@ screen_write_strlen(int utf8flag, const char *fmt, ...)
size++;
ptr++;
}
- }
+ }
return (size);
}
@@ -148,7 +148,7 @@ screen_write_vnputs(struct screen_write_ctx *ctx, ssize_t maxlen,
*utf8buf = *ptr;
ptr++;
}
-
+
width = utf8_width(utf8buf);
if (maxlen > 0 && size + width > (size_t) maxlen) {
while (size < (size_t) maxlen) {
@@ -301,12 +301,12 @@ screen_write_alignmenttest(struct screen_write_ctx *ctx)
memcpy(&gc, &grid_default_cell, sizeof gc);
gc.data = 'E';
-
+
for (yy = 0; yy < screen_size_y(s); yy++) {
for (xx = 0; xx < screen_size_x(s); xx++)
grid_view_set_cell(s->grid, xx, yy, &gc);
}
-
+
s->cx = 0;
s->cy = 0;