summaryrefslogtreecommitdiffstats
path: root/grid.c
diff options
context:
space:
mode:
authornicm <nicm>2014-01-09 13:58:06 +0000
committernicm <nicm>2014-01-09 13:58:06 +0000
commit994cb872cfb5ef49a08a714d093d92bfee79b0e8 (patch)
tree05c8cd05b5ca00c986bdc4a8a9dd965ff29f7b93 /grid.c
parent66829ee12e45656fccfe8879b7ac2f983d138b42 (diff)
Style and comment fixes from Tiago Cunha.
Diffstat (limited to 'grid.c')
-rw-r--r--grid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/grid.c b/grid.c
index d06e7154..d9b3c716 100644
--- a/grid.c
+++ b/grid.c
@@ -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);