aboutsummaryrefslogtreecommitdiff
path: root/lib/libedit
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2017-12-27 03:23:41 +0000
committerEitan Adler <eadler@FreeBSD.org>2017-12-27 03:23:41 +0000
commitd52a982ea85b7f76b2c78a842f893866c04f131e (patch)
tree0cf3fbcad0629a7675ebd312ec0901816e3a40ad /lib/libedit
parentcaa7e52f3f525b75d87fca7e612933377699fd59 (diff)
downloadsrc-d52a982ea85b7f76b2c78a842f893866c04f131e.tar.gz
src-d52a982ea85b7f76b2c78a842f893866c04f131e.zip
lib: Fix several typos and minor errors
- duplicate words - typos - references to old versions of FreeBSD Reviewed by: imp, benno
Notes
Notes: svn path=/head/; revision=327232
Diffstat (limited to 'lib/libedit')
-rw-r--r--lib/libedit/map.c2
-rw-r--r--lib/libedit/refresh.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libedit/map.c b/lib/libedit/map.c
index 2d4475c38f1e..00b42e17fed2 100644
--- a/lib/libedit/map.c
+++ b/lib/libedit/map.c
@@ -370,7 +370,7 @@ private const el_action_t el_map_vi_insert[] = {
* NOTE: These mappings do NOT Correspond well
* to the KSH VI editing assignments.
* On the other and they are convenient and
- * many people have have gotten used to them.
+ * many people have gotten used to them.
*/
/* 0 */ ED_UNASSIGNED, /* ^@ */
/* 1 */ ED_MOVE_TO_BEG, /* ^A */
diff --git a/lib/libedit/refresh.c b/lib/libedit/refresh.c
index 8f4b08e66e4f..844554ee188f 100644
--- a/lib/libedit/refresh.c
+++ b/lib/libedit/refresh.c
@@ -1148,7 +1148,7 @@ re_fastaddc(EditLine *el)
/* re_clear_display():
- * clear the screen buffers so that new new prompt starts fresh.
+ * clear the screen buffers so that new prompt starts fresh.
*/
protected void
re_clear_display(EditLine *el)