diff options
author | pfg <pfg@FreeBSD.org> | 2016-05-01 19:37:33 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2016-05-01 19:37:33 +0000 |
commit | 9e7434b2c5c2ce4f2a9aa3e84de3e7cf33a910d5 (patch) | |
tree | 0915c4e45d9b930a70f4e5e0d87c272630e6ade2 /lib/libedit | |
parent | b40040b0194300dfa5b68ecd084dde2ce667c9bc (diff) | |
download | FreeBSD-src-9e7434b2c5c2ce4f2a9aa3e84de3e7cf33a910d5.zip FreeBSD-src-9e7434b2c5c2ce4f2a9aa3e84de3e7cf33a910d5.tar.gz |
lib: minor spelling fixes in comments.
No functional change.
Diffstat (limited to 'lib/libedit')
-rw-r--r-- | lib/libedit/chartype.h | 4 | ||||
-rw-r--r-- | lib/libedit/refresh.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/libedit/chartype.h b/lib/libedit/chartype.h index 17ca5f3..1445681 100644 --- a/lib/libedit/chartype.h +++ b/lib/libedit/chartype.h @@ -204,11 +204,11 @@ protected size_t ct_enc_width(Char); #endif #ifndef NARROWCHAR -/* Encode a characted into the destination buffer, provided there is sufficent +/* Encode a characted into the destination buffer, provided there is sufficient * buffer space available. Returns the number of bytes used up (zero if the * character cannot be encoded, -1 if there was not enough space available). */ -/* The maximum buffer size to hold the most unwieldly visual representation, +/* The maximum buffer size to hold the most unwieldy visual representation, * in this case \U+nnnnn. */ #define VISUAL_WIDTH_MAX ((size_t)8) diff --git a/lib/libedit/refresh.c b/lib/libedit/refresh.c index c85e845..cd516f6 100644 --- a/lib/libedit/refresh.c +++ b/lib/libedit/refresh.c @@ -561,7 +561,7 @@ re_update_line(EditLine *el, Char *old, Char *new, int i) nls = ++n; /* - * find same begining and same end + * find same beginning and same end */ osb = ols; nsb = nls; |