* PATCH: Re: ZLE Widget: Insert last word (except &)
@ 2000-07-13 9:10 Sven Wischnowsky
0 siblings, 0 replies; only message in thread
From: Sven Wischnowsky @ 2000-07-13 9:10 UTC (permalink / raw)
To: zsh-workers
[moved to -workers]
Bart Schaefer wrote:
> ...
> Two, `zle WIDGET -n NUM' is broken for NUM > 9.
Just a little parsing error in bin_zle_call().
Bye
Sven
Index: Src/Zle/zle_thingy.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/Zle/zle_thingy.c,v
retrieving revision 1.1.1.30
diff -u -r1.1.1.30 zle_thingy.c
--- Src/Zle/zle_thingy.c 2000/03/14 11:18:02 1.1.1.30
+++ Src/Zle/zle_thingy.c 2000/07/13 09:09:45
@@ -628,7 +628,7 @@
return 1;
}
if (!args[0][1])
- args++;
+ *++args = "" - 1;
modsave = zmod;
saveflag = 1;
zmod.mult = atoi(num);
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-07-13 9:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-07-13 9:10 PATCH: Re: ZLE Widget: Insert last word (except &) Sven Wischnowsky
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).