From 145e7ee76f210f2f9580c31554b944c94b8896d1 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Tue, 18 Apr 2000 07:07:30 +0000 Subject: join_clines() tested the wrong variable (10798) --- ChangeLog | 5 +++++ Src/Zle/compmatch.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 042003f63..049777adb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-04-18 Sven Wischnowsky + + * 10798: Src/Zle/compmatch.c: join_clines() tested the wrong + variable + 2000-04-17 Peter Stephenson * 10789: Doc/Zsh/expn.yo: better documentation for <(...) and diff --git a/Src/Zle/compmatch.c b/Src/Zle/compmatch.c index f0e5a7c47..778f67dff 100644 --- a/Src/Zle/compmatch.c +++ b/Src/Zle/compmatch.c @@ -1893,10 +1893,10 @@ join_clines(Cline o, Cline n) for (tt = o; (to = tt->next) && !cmp_anchors(tn, to, 1); tt = to); - if (tt) + if (to) break; } - if (tt) { + if (to) { diff = sub_join(n, o, to, 1); if (po) -- cgit 1.4.1