more comment fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3926 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
08cf2528e1
commit
e54f1c4eaa
|
@ -204,7 +204,7 @@ char *parse_next_regex(char *ptr)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
/* Null terminate and advance ptr. */
|
||||
/* Null-terminate and advance ptr. */
|
||||
*ptr++ = '\0';
|
||||
|
||||
while (isblank(*ptr))
|
||||
|
|
|
@ -232,7 +232,7 @@ ssize_t ngetdelim(char **lineptr, size_t *n, int delim, FILE *stream)
|
|||
*n += MAX_BUF_SIZE;
|
||||
}
|
||||
|
||||
/* Null terminate the buffer. */
|
||||
/* Null-terminate the buffer. */
|
||||
null_at(lineptr, indx++);
|
||||
*n = indx;
|
||||
|
||||
|
|
|
@ -1974,7 +1974,7 @@ char *display_string(const char *buf, size_t start_col, size_t len, bool
|
|||
|
||||
assert(alloc_len >= index + 1);
|
||||
|
||||
/* Null terminate converted. */
|
||||
/* Null-terminate converted. */
|
||||
converted[index] = '\0';
|
||||
|
||||
/* Make sure converted takes up no more than len columns. */
|
||||
|
|
Loading…
Reference in New Issue