1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-10-02 17:01:19 +02:00

145??: fix thinko

This commit is contained in:
Clint Adams 2001-05-29 21:41:53 +00:00
parent e56c42c9fe
commit ac4d669afb
2 changed files with 3 additions and 1 deletions

@ -1,5 +1,7 @@
2001-05-29 Clint Adams <clint@zsh.org>
* 145??: Src/Zle/zle_hist.c: fix thinko
* 145??: Src/Zle/zle_hist.c: repeat last vi history search
if search string is empty.

@ -996,7 +996,7 @@ getvisrchstr(void)
visrchstr = metafy(sbuf + 1, sptr - 1, META_DUP);
if (!strlen(visrchstr)) {
zsfree(visrchstr);
visrchstr = vipenultsrchstr;
visrchstr = ztrdup(vipenultsrchstr);
}
ret = 1;
sptr = 0;