From: David Lawrence Ramsey Date: Sun, 29 Oct 2006 21:14:53 +0000 (+0000) Subject: more comment fixes X-Git-Tag: v2.0.0~7 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=e54f1c4eaab5c36f6cea5c2b0f4a4a1092e7d355;p=nano.git more comment fixes git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3926 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/src/rcfile.c b/src/rcfile.c index 7507f13e..58d8dff0 100644 --- a/src/rcfile.c +++ b/src/rcfile.c @@ -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)) diff --git a/src/utils.c b/src/utils.c index 6c16b9e4..1df715e7 100644 --- a/src/utils.c +++ b/src/utils.c @@ -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; diff --git a/src/winio.c b/src/winio.c index 3b08b702..85961ff0 100644 --- a/src/winio.c +++ b/src/winio.c @@ -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. */