diff options
Diffstat (limited to 'Src/glob.c')
-rw-r--r-- | Src/glob.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/glob.c b/Src/glob.c index 76f23cdb6..aa82b91c1 100644 --- a/Src/glob.c +++ b/Src/glob.c @@ -1537,7 +1537,7 @@ zglob(LinkList list, LinkNode np, int nountok) newquals->next = quals; quals = qn; } - } else + } else if (newquals) quals = newquals; } q = parsepat(str); |