diff options
Diffstat (limited to 'pico/buffer.c')
-rw-r--r-- | pico/buffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pico/buffer.c b/pico/buffer.c index 87423d2..741c969 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); |