Fix a few typos.
This commit is contained in:
parent
1d22b4120f
commit
c22964d7eb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=148848
@ -932,7 +932,7 @@ term_set(EditLine *el, const char *term)
|
|||||||
Val(T_co) = tgetnum("co");
|
Val(T_co) = tgetnum("co");
|
||||||
Val(T_li) = tgetnum("li");
|
Val(T_li) = tgetnum("li");
|
||||||
for (t = tstr; t->name != NULL; t++) {
|
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),
|
term_alloc(el, t, tgetstr(strchr(t->name, *t->name),
|
||||||
&area));
|
&area));
|
||||||
}
|
}
|
||||||
@ -1443,7 +1443,7 @@ term_echotc(EditLine *el, int argc __unused,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (t->name == NULL) {
|
if (t->name == NULL) {
|
||||||
/* XXX: some systems tgetstr needs non const */
|
/* XXX: some systems' tgetstr needs non const */
|
||||||
scap = tgetstr(strchr(*argv, **argv), &area);
|
scap = tgetstr(strchr(*argv, **argv), &area);
|
||||||
}
|
}
|
||||||
if (!scap || scap[0] == '\0') {
|
if (!scap || scap[0] == '\0') {
|
||||||
|
@ -890,7 +890,7 @@ vi_yank(EditLine *el, int c)
|
|||||||
|
|
||||||
/* vi_comment_out():
|
/* vi_comment_out():
|
||||||
* Vi comment out current command
|
* Vi comment out current command
|
||||||
* [c]
|
* [#]
|
||||||
*/
|
*/
|
||||||
protected el_action_t
|
protected el_action_t
|
||||||
/*ARGSUSED*/
|
/*ARGSUSED*/
|
||||||
@ -907,7 +907,7 @@ vi_comment_out(EditLine *el, int c)
|
|||||||
/* vi_alias():
|
/* vi_alias():
|
||||||
* Vi include shell 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...
|
* this is against historical precedent...
|
||||||
*/
|
*/
|
||||||
protected el_action_t
|
protected el_action_t
|
||||||
|
Loading…
Reference in New Issue
Block a user