summaryrefslogtreecommitdiff
path: root/command.c
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2011-06-09 22:50:10 +0000
committerXin LI <delphij@FreeBSD.org>2011-06-09 22:50:10 +0000
commit5b2db585ea1bc974ea3553d32447fba4e9ec0c2a (patch)
treedcf44d44b0250e9ec806b73a002e888e98c588aa /command.c
parented915d8294a373813108148f47b424e1152e4a5d (diff)
Diffstat (limited to 'command.c')
-rw-r--r--command.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/command.c b/command.c
index aa69a47c1522..bacb058a5e17 100644
--- a/command.c
+++ b/command.c
@@ -300,6 +300,7 @@ is_erase_char(c)
*/
static int
mca_opt_first_char(c)
+ int c;
{
int flag = (optflag & ~OPT_NO_PROMPT);
if (flag == OPT_NO_TOGGLE)
@@ -839,6 +840,7 @@ ungetcc(c)
ug->ug_char = c;
ug->ug_next = ungot;
ungot = ug;
+ unget_end = 0;
}
/*