From 06c6ab430b223f6923fe74a4b8d11f3e626848a8 Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Wed, 15 Jan 2020 21:41:39 -0700 Subject: * Fix a number of misspellings in the source code of Alpine. I hav only fixed those that belong to the source code of Alpine and do not come from an external source. List contributed by Jens Schleusener. --- pico/buffer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pico/buffer.c') diff --git a/pico/buffer.c b/pico/buffer.c index 87423d28..741c969f 100644 --- a/pico/buffer.c +++ b/pico/buffer.c @@ -88,7 +88,7 @@ bfind(char *bname, int cflag, int bflag) } /* find the place in the list to insert this buffer */ if (bheadp == NULL || strcmp(bheadp->b_bname, bname) > 0) { - /* insert at the begining */ + /* insert at the beginning */ bp->b_bufp = bheadp; bheadp = bp; } else { @@ -347,7 +347,7 @@ sgetline(char **ibuf, int *nchars, char *obuf, int blen) } } } - *bufp = '\0'; /* end retured line */ + *bufp = '\0'; /* end returned line */ *ibuf = (*cbuf == CR) ? ++cbuf : cbuf; *ibuf = (*cbuf == LF) ? ++cbuf : cbuf; return(retval); -- cgit v1.2.3-70-g09d2