summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/grid.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2014-01-09 13:58:07 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2014-01-09 13:58:07 +0000
commite0360d0a1ab8ae6a77212b9b70b1864b45e68b97 (patch)
tree4fd56f604e423207209420773cf9894be9e94b86 /usr.bin/tmux/grid.c
parent50c36851672bd22490420e9c36e043b67c809fb1 (diff)
Style and comment fixes from Tiago Cunha.
Diffstat (limited to 'usr.bin/tmux/grid.c')
-rw-r--r--usr.bin/tmux/grid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/grid.c b/usr.bin/tmux/grid.c
index de76090f3b6..fd856f4ce27 100644
--- a/usr.bin/tmux/grid.c
+++ b/usr.bin/tmux/grid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: grid.c,v 1.31 2013/10/10 12:01:14 nicm Exp $ */
+/* $OpenBSD: grid.c,v 1.32 2014/01/09 13:58:06 nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -644,7 +644,7 @@ grid_string_cells(struct grid *gd, u_int px, u_int py, u_int nx,
if (trim) {
while (off > 0 && buf[off - 1] == ' ')
off--;
- }
+ }
buf[off] = '\0';
return (buf);