diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-05 07:42:36 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-05 07:42:36 +0000 |
commit | c844ad87127784e504dea096323262b9cda35837 (patch) | |
tree | 1ceb3a7385d453531362bc37f601c4aad5e51d21 /Src/builtin.c | |
parent | c05f118fc2f40d8e4b1b73926c5d74a6dc14281a (diff) | |
download | zsh-c844ad87127784e504dea096323262b9cda35837.tar.gz zsh-c844ad87127784e504dea096323262b9cda35837.tar.xz zsh-c844ad87127784e504dea096323262b9cda35837.zip |
Wayne: fix for print -s when called from widget; added lines are not immediately available, though (11171)
Diffstat (limited to 'Src/builtin.c')
-rw-r--r-- | Src/builtin.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)) { |