mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-19 21:44:11 +01:00
145??: fix thinko
This commit is contained in:
parent
e56c42c9fe
commit
ac4d669afb
@ -1,5 +1,7 @@
|
|||||||
2001-05-29 Clint Adams <clint@zsh.org>
|
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
|
* 145??: Src/Zle/zle_hist.c: repeat last vi history search
|
||||||
if search string is empty.
|
if search string is empty.
|
||||||
|
|
||||||
|
@ -996,7 +996,7 @@ getvisrchstr(void)
|
|||||||
visrchstr = metafy(sbuf + 1, sptr - 1, META_DUP);
|
visrchstr = metafy(sbuf + 1, sptr - 1, META_DUP);
|
||||||
if (!strlen(visrchstr)) {
|
if (!strlen(visrchstr)) {
|
||||||
zsfree(visrchstr);
|
zsfree(visrchstr);
|
||||||
visrchstr = vipenultsrchstr;
|
visrchstr = ztrdup(vipenultsrchstr);
|
||||||
}
|
}
|
||||||
ret = 1;
|
ret = 1;
|
||||||
sptr = 0;
|
sptr = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user