summary refs log tree commit diff
path: root/Src/Zle
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Zle')
-rw-r--r--Src/Zle/compmatch.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Src/Zle/compmatch.c b/Src/Zle/compmatch.c
index fc1e6fb54..8e8a7ae7f 100644
--- a/Src/Zle/compmatch.c
+++ b/Src/Zle/compmatch.c
@@ -2076,8 +2076,7 @@ join_clines(Cline o, Cline n)
 
 				if ((diff = sub_join(o, n, tn, 0))) {
 				    o->flags = (o->flags & ~CLF_MISS) | of;
-				    if (po && po->prefix &&
-                                        cmp_anchors(o, po, 0)) {
+				    if (po && po->prefix) {
 					po->flags |= CLF_MISS;
 					po->max += diff;
 				    }