From 5a3fe9220dd77337202f8f095444556f4129a3f9 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Fri, 28 Apr 2000 12:42:24 +0000 Subject: misplaced cursor with partial-word matching (11007) --- Src/Zle/compmatch.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'Src/Zle/compmatch.c') diff --git a/Src/Zle/compmatch.c b/Src/Zle/compmatch.c index 3a6a849b9..f38ea6a9f 100644 --- a/Src/Zle/compmatch.c +++ b/Src/Zle/compmatch.c @@ -1917,14 +1917,8 @@ join_clines(Cline o, Cline n) if (tn) { diff = sub_join(o, n, tn, 0); - - if (po && po->prefix && cmp_anchors(n, pn, 0)) { - po->flags |= CLF_MISS; - po->max += diff; - } else { - o->flags |= CLF_MISS; - o->max += diff; - } + o->flags |= CLF_MISS; + o->max += diff; n = tn; po = o; o = o->next; -- cgit 1.4.1