diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-04-07 09:16:37 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-04-07 09:16:37 +0000 |
commit | 920c353740f518d800e677b3477cf9068a57aeaf (patch) | |
tree | 1c7c3df57f4845e526ca134e7e81fc921d2cc91a /Src/Zle | |
parent | 2562bd3b77145fd50d5b1c4f54054fc60a53eb6c (diff) | |
download | zsh-920c353740f518d800e677b3477cf9068a57aeaf.tar.gz zsh-920c353740f518d800e677b3477cf9068a57aeaf.tar.xz zsh-920c353740f518d800e677b3477cf9068a57aeaf.zip |
cursor placed on wrong word part with ** match spec (10573)
Diffstat (limited to 'Src/Zle')
-rw-r--r-- | Src/Zle/compmatch.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Src/Zle/compmatch.c b/Src/Zle/compmatch.c index 0a377ddb0..00072b0ee 100644 --- a/Src/Zle/compmatch.c +++ b/Src/Zle/compmatch.c @@ -1705,11 +1705,17 @@ sub_join(Cline a, Cline b, Cline e, int anew) a->prefix = cp_cline(ca, 0); if (anew) { + int f = e->flags; + join_psfx(e, a, NULL, NULL, 0); + e->flags = f; if (e->prefix) return max - min; } else { + int f = e->flags; + join_psfx(a, e, NULL, NULL, 0); + e->flags = f; if (a->prefix) return max - min; } |