changeset 1025:b43885dd3d1a

Comments, cosmetics.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 01 Mar 2015 16:05:50 +0200
parents 66b01739e5d3
children 16e63811d0c2
files tools/packed.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/tools/packed.c	Sun Mar 01 16:02:46 2015 +0200
+++ b/tools/packed.c	Sun Mar 01 16:05:50 2015 +0200
@@ -673,16 +673,15 @@
             {
                 BOOL match;
                 
-                // Check for matches
+                // Check for matches in specified filenames/patterns
                 if (nsrcFilenames > 0)
                 {
                     match = FALSE;
                     for (i = 0; i < nsrcFilenames && !match; i++)
-                    {
                         match = dm_strmatch(node->filename, srcFilenames[i]);
-                    }
                 }
                 else
+                // No filenames specified, everything shown
                     match = TRUE;
 
                 if (match)