summaryrefslogtreecommitdiffstats
path: root/lib/libedit
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2005-08-08 07:08:35 +0000
committerstefanf <stefanf@FreeBSD.org>2005-08-08 07:08:35 +0000
commitb3a28a5d9481a9bdfdb0e8a86b1384e65da21155 (patch)
tree8ff6af44ec8434d9817c22a566ba14a874f472e5 /lib/libedit
parentc72aa990fb62f093944cc3d8590a1dcd8fe7fbc5 (diff)
downloadFreeBSD-src-b3a28a5d9481a9bdfdb0e8a86b1384e65da21155.zip
FreeBSD-src-b3a28a5d9481a9bdfdb0e8a86b1384e65da21155.tar.gz
Fix a few typos.
Diffstat (limited to 'lib/libedit')
-rw-r--r--lib/libedit/term.c4
-rw-r--r--lib/libedit/vi.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libedit/term.c b/lib/libedit/term.c
index b926303..f1b4f8e 100644
--- a/lib/libedit/term.c
+++ b/lib/libedit/term.c
@@ -932,7 +932,7 @@ term_set(EditLine *el, const char *term)
Val(T_co) = tgetnum("co");
Val(T_li) = tgetnum("li");
for (t = tstr; t->name != NULL; t++) {
- /* XXX: some systems tgetstr needs non const */
+ /* XXX: some systems' tgetstr needs non const */
term_alloc(el, t, tgetstr(strchr(t->name, *t->name),
&area));
}
@@ -1443,7 +1443,7 @@ term_echotc(EditLine *el, int argc __unused,
break;
}
if (t->name == NULL) {
- /* XXX: some systems tgetstr needs non const */
+ /* XXX: some systems' tgetstr needs non const */
scap = tgetstr(strchr(*argv, **argv), &area);
}
if (!scap || scap[0] == '\0') {
diff --git a/lib/libedit/vi.c b/lib/libedit/vi.c
index ae65bbc..ef82962 100644
--- a/lib/libedit/vi.c
+++ b/lib/libedit/vi.c
@@ -890,7 +890,7 @@ vi_yank(EditLine *el, int c)
/* vi_comment_out():
* Vi comment out current command
- * [c]
+ * [#]
*/
protected el_action_t
/*ARGSUSED*/
@@ -907,7 +907,7 @@ vi_comment_out(EditLine *el, int c)
/* vi_alias():
* Vi include shell alias
* [@]
- * NB: posix impiles that we should enter insert mode, however
+ * NB: posix implies that we should enter insert mode, however
* this is against historical precedent...
*/
protected el_action_t
OpenPOWER on IntegriCloud