nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit e54f1c4eaab5c36f6cea5c2b0f4a4a1092e7d355
parent 08cf2528e100536a1c078b8ac4a7dca955414ecc
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Sun, 29 Oct 2006 21:14:53 +0000

more comment fixes


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3926 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
Msrc/rcfile.c | 2+-
Msrc/utils.c | 2+-
Msrc/winio.c | 2+-
3 files changed, 3 insertions(+), 3 deletions(-)

diff --git 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 @@ -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 @@ -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. */