Mercurial > hg > dmlib
comparison tools/packed.c @ 1025:b43885dd3d1a
Comments, cosmetics.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 01 Mar 2015 16:05:50 +0200 |
parents | 66b01739e5d3 |
children | 16e63811d0c2 |
comparison
equal
deleted
inserted
replaced
1024:66b01739e5d3 | 1025:b43885dd3d1a |
---|---|
671 | 671 |
672 for (node = pack->entries; node != NULL; node = node->next) | 672 for (node = pack->entries; node != NULL; node = node->next) |
673 { | 673 { |
674 BOOL match; | 674 BOOL match; |
675 | 675 |
676 // Check for matches | 676 // Check for matches in specified filenames/patterns |
677 if (nsrcFilenames > 0) | 677 if (nsrcFilenames > 0) |
678 { | 678 { |
679 match = FALSE; | 679 match = FALSE; |
680 for (i = 0; i < nsrcFilenames && !match; i++) | 680 for (i = 0; i < nsrcFilenames && !match; i++) |
681 { | |
682 match = dm_strmatch(node->filename, srcFilenames[i]); | 681 match = dm_strmatch(node->filename, srcFilenames[i]); |
683 } | |
684 } | 682 } |
685 else | 683 else |
684 // No filenames specified, everything shown | |
686 match = TRUE; | 685 match = TRUE; |
687 | 686 |
688 if (match) | 687 if (match) |
689 { | 688 { |
690 dmPrint(0, "%-32s | %8d | %8d | %08x | %04x\n", | 689 dmPrint(0, "%-32s | %8d | %8d | %08x | %04x\n", |