diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-04-18 07:07:30 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-04-18 07:07:30 +0000 |
commit | 145e7ee76f210f2f9580c31554b944c94b8896d1 (patch) | |
tree | 8de426f4e0620b75345f19e1c820c04421e84cf6 /Src/Zle | |
parent | 4f1424edb22d8521756f2f59c3b87b5d70a8d2cf (diff) | |
download | zsh-145e7ee76f210f2f9580c31554b944c94b8896d1.tar.gz zsh-145e7ee76f210f2f9580c31554b944c94b8896d1.tar.xz zsh-145e7ee76f210f2f9580c31554b944c94b8896d1.zip |
join_clines() tested the wrong variable (10798)
Diffstat (limited to 'Src/Zle')
-rw-r--r-- | Src/Zle/compmatch.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) |