mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-12-05 05:21:17 +01:00
31737: same loop counter fix in get_cadef as get_cvdef.
This commit is contained in:
parent
844e569b63
commit
61deff76f2
2 changed files with 5 additions and 1 deletions
|
|
@ -1,3 +1,7 @@
|
|||
2013-09-19 Barton E. Schaefer <schaefer@zsh.org>
|
||||
|
||||
* 31737: Src/Zle/computil.c (get_cadef): same fix as get_cvdef.
|
||||
|
||||
2013-09-19 Peter Stephenson <p.stephenson@samsung.com>
|
||||
|
||||
* Axel Beckert: 31735: Src/Zle/computil.c (get_cvdef):
|
||||
|
|
|
|||
|
|
@ -1608,7 +1608,7 @@ get_cadef(char *nam, char **args)
|
|||
return *p;
|
||||
} else if (!min || !*p || (*p)->lastt < (*min)->lastt)
|
||||
min = p;
|
||||
if (i)
|
||||
if (i > 0)
|
||||
min = p;
|
||||
if ((new = parse_cadef(nam, args))) {
|
||||
freecadef(*min);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue