From c844ad87127784e504dea096323262b9cda35837 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Fri, 5 May 2000 07:42:36 +0000 Subject: Wayne: fix for print -s when called from widget; added lines are not immediately available, though (11171) --- Src/builtin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src/builtin.c') diff --git a/Src/builtin.c b/Src/builtin.c index bca0ab33f..68155d2c6 100644 --- a/Src/builtin.c +++ b/Src/builtin.c @@ -2777,7 +2777,7 @@ bin_print(char *name, char **args, char *ops, int func) int nwords = 0, nlen, iwords; char **pargs = args; - ent = prepnexthistent(zleactive ? curhist++ : ++curhist); + ent = prepnexthistent(); while (*pargs++) nwords++; if ((ent->nwords = nwords)) { -- cgit v1.2.3