summaryrefslogtreecommitdiff
path: root/lib/libedit
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2016-05-06 18:01:41 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2016-05-06 18:01:41 +0000
commit9cb92d35b5b9d813c6d2288b6146e29e728c718e (patch)
tree85ea65a169cb283031f744ebcb715438a56cf8d4 /lib/libedit
parent73c052938f302ee9e28b89c7686da823e2e80367 (diff)
typos in comments; from Pedro Giffuni (FreeBSD) via Christos Zoulas (NetBSD)
Diffstat (limited to 'lib/libedit')
-rw-r--r--lib/libedit/chartype.h6
-rw-r--r--lib/libedit/refresh.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/libedit/chartype.h b/lib/libedit/chartype.h
index 50b88527e81..25ec8c13bcb 100644
--- a/lib/libedit/chartype.h
+++ b/lib/libedit/chartype.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: chartype.h,v 1.19 2016/04/11 21:17:29 schwarze Exp $ */
+/* $OpenBSD: chartype.h,v 1.20 2016/05/06 18:01:40 schwarze Exp $ */
/* $NetBSD: chartype.h,v 1.31 2016/04/11 18:56:31 christos Exp $ */
/*-
@@ -70,13 +70,13 @@ wchar_t *ct_decode_string(const char *, ct_buffer_t *);
* The pointer returned must be free()d when done. */
protected wchar_t **ct_decode_argv(int, const char *[], ct_buffer_t *);
-/* Encode a characted into the destination buffer, provided there is sufficent
+/* Encode a character 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). */
protected ssize_t ct_encode_char(char *, size_t, wchar_t);
protected size_t ct_enc_width(wchar_t);
-/* 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 8
diff --git a/lib/libedit/refresh.c b/lib/libedit/refresh.c
index fa3e1f999d9..4922103b599 100644
--- a/lib/libedit/refresh.c
+++ b/lib/libedit/refresh.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: refresh.c,v 1.19 2016/04/11 21:17:29 schwarze Exp $ */
-/* $NetBSD: refresh.c,v 1.49 2016/04/11 18:56:31 christos Exp $ */
+/* $OpenBSD: refresh.c,v 1.20 2016/05/06 18:01:40 schwarze Exp $ */
+/* $NetBSD: refresh.c,v 1.50 2016/05/02 16:35:17 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -557,7 +557,7 @@ re_update_line(EditLine *el, wchar_t *old, wchar_t *new, int i)
nls = ++n;
/*
- * find same begining and same end
+ * find same beginning and same end
*/
osb = ols;
nsb = nls;