mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-22 16:20:23 +02:00
145??: fix thinko
This commit is contained in:
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue