|
@@ -510,15 +510,14 @@ name_next_elt (int change_dirs)
|
|
struct name_elt *ep;
|
|
struct name_elt *ep;
|
|
|
|
|
|
ep = &name_array[scanned];
|
|
ep = &name_array[scanned];
|
|
- if (ep->type == NELT_FMASK)
|
|
|
|
|
|
+
|
|
|
|
+ switch (ep->type)
|
|
{
|
|
{
|
|
|
|
+ case NELT_FMASK:
|
|
matching_flags = ep->v.matching_flags;
|
|
matching_flags = ep->v.matching_flags;
|
|
++scanned;
|
|
++scanned;
|
|
continue;
|
|
continue;
|
|
- }
|
|
|
|
-
|
|
|
|
- switch (ep->type)
|
|
|
|
- {
|
|
|
|
|
|
+
|
|
case NELT_FILE:
|
|
case NELT_FILE:
|
|
if (read_next_name (ep, &entry) == 0)
|
|
if (read_next_name (ep, &entry) == 0)
|
|
return &entry;
|
|
return &entry;
|