From 3f51f93516b6d0ace5d5e577719f1073770d5170 Mon Sep 17 00:00:00 2001 From: delphij Date: Thu, 9 Jun 2011 22:52:57 +0000 Subject: MFV: Update to less v444. MFC after: 2 weeks --- contrib/less/command.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'contrib/less/command.c') diff --git a/contrib/less/command.c b/contrib/less/command.c index 653db0b..41c3869 100644 --- a/contrib/less/command.c +++ b/contrib/less/command.c @@ -302,7 +302,7 @@ is_erase_char(c) */ static int mca_opt_first_char(c) - int c; + int c; { int flag = (optflag & ~OPT_NO_PROMPT); if (flag == OPT_NO_TOGGLE) @@ -846,6 +846,7 @@ ungetcc(c) ug->ug_char = c; ug->ug_next = ungot; ungot = ug; + unget_end = 0; } /* -- cgit v1.1