From dc049d472494c821e3a55fb6f4d15ab606c811d0 Mon Sep 17 00:00:00 2001 From: skimo Date: Sat, 19 Jul 2003 21:04:00 +0000 Subject: [PATCH] continue executing the command if v_ecl_log rather than turning it off --- vi/v_ex.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/vi/v_ex.c b/vi/v_ex.c index 7082be3a..0043d1ce 100644 --- a/vi/v_ex.c +++ b/vi/v_ex.c @@ -10,7 +10,7 @@ #include "config.h" #ifndef lint -static const char sccsid[] = "$Id: v_ex.c,v 10.59 2003/07/18 23:31:51 skimo Exp $ (Berkeley) $Date: 2003/07/18 23:31:51 $"; +static const char sccsid[] = "$Id: v_ex.c,v 10.60 2003/07/19 21:04:00 skimo Exp $ (Berkeley) $Date: 2003/07/19 21:04:00 $"; #endif /* not lint */ #include @@ -375,10 +375,8 @@ v_ex(SCR *sp, VICMD *vp) break; /* Log the command. */ - if (O_STR(sp, O_CEDIT) != NULL && v_ecl_log(sp, tp)) { - O_CLR(sp, O_CEDIT); - return 1; - } + if (O_STR(sp, O_CEDIT) != NULL) + (void)v_ecl_log(sp, tp); /* Push a command on the command stack. */ if (ex_run_str(sp, NULL, tp->lb, tp->len, 0, 1)) -- 2.11.4.GIT