diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Src/Zle/compmatch.c | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index b1e324cb0..0ff64832b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2000-04-07 Sven Wischnowsky <wischnow@informatik.hu-berlin.de> + * 10573: Src/Zle/compmatch.c: cursor placed on wrong word part + with ** match spec + * 10571: Completion/Core/_main_complete, Completion/Core/_path_files: missing initialisations, -W with multiple directories didn't work 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; } |