Commit e54f1c4e authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

more comment fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3926 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 3 additions and 3 deletions
+3 -3
...@@ -204,7 +204,7 @@ char *parse_next_regex(char *ptr) ...@@ -204,7 +204,7 @@ char *parse_next_regex(char *ptr)
return NULL; return NULL;
} }
/* Null terminate and advance ptr. */ /* Null-terminate and advance ptr. */
*ptr++ = '\0'; *ptr++ = '\0';
while (isblank(*ptr)) while (isblank(*ptr))
......
...@@ -232,7 +232,7 @@ ssize_t ngetdelim(char **lineptr, size_t *n, int delim, FILE *stream) ...@@ -232,7 +232,7 @@ ssize_t ngetdelim(char **lineptr, size_t *n, int delim, FILE *stream)
*n += MAX_BUF_SIZE; *n += MAX_BUF_SIZE;
} }
/* Null terminate the buffer. */ /* Null-terminate the buffer. */
null_at(lineptr, indx++); null_at(lineptr, indx++);
*n = indx; *n = indx;
......
...@@ -1974,7 +1974,7 @@ char *display_string(const char *buf, size_t start_col, size_t len, bool ...@@ -1974,7 +1974,7 @@ char *display_string(const char *buf, size_t start_col, size_t len, bool
assert(alloc_len >= index + 1); assert(alloc_len >= index + 1);
/* Null terminate converted. */ /* Null-terminate converted. */
converted[index] = '\0'; converted[index] = '\0';
/* Make sure converted takes up no more than len columns. */ /* Make sure converted takes up no more than len columns. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment