Style and comment fixes from Tiago Cunha.

This commit is contained in:
nicm
2014-01-09 13:58:06 +00:00
parent 66829ee12e
commit 994cb872cf
3 changed files with 3 additions and 4 deletions

2
grid.c
View File

@ -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);