diff options
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; |