1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-09 00:11:25 +02:00

join_clines() tested the wrong variable (10798)

This commit is contained in:
Sven Wischnowsky 2000-04-18 07:07:30 +00:00
parent 4f1424edb2
commit 145e7ee76f
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2000-04-18 Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
* 10798: Src/Zle/compmatch.c: join_clines() tested the wrong
variable
2000-04-17 Peter Stephenson <pws@cambridgesiliconradio.com>
* 10789: Doc/Zsh/expn.yo: better documentation for <(...) and

View file

@ -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)