summaryrefslogtreecommitdiff
path: root/pico/buffer.c
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2020-01-15 21:41:39 -0700
committerEduardo Chappa <chappa@washington.edu>2020-01-15 21:41:39 -0700
commit06c6ab430b223f6923fe74a4b8d11f3e626848a8 (patch)
tree2b483acf3ec2da573992c20b766a480e22f4c45a /pico/buffer.c
parent9822842646bc2b940d4b98a260ee4e3ac26fce57 (diff)
downloadalpine-06c6ab430b223f6923fe74a4b8d11f3e626848a8.tar.xz
* 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.
Diffstat (limited to 'pico/buffer.c')
-rw-r--r--pico/buffer.c4
1 files changed, 2 insertions, 2 deletions
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);