[Change] Made 0 padding a little longer.
This commit is contained in:
parent
e0ac7a211f
commit
b9aae94354
@ -10,8 +10,8 @@ int main(int argc, char** argv) {
|
|||||||
char* packfile;
|
char* packfile;
|
||||||
char** list;
|
char** list;
|
||||||
uint32_t nlist;
|
uint32_t nlist;
|
||||||
int i;
|
|
||||||
uint32_t nfiles;
|
uint32_t nfiles;
|
||||||
|
int i;
|
||||||
|
|
||||||
if(argc == 1) {
|
if(argc == 1) {
|
||||||
fprintf(stderr, "Missing output file\n");
|
fprintf(stderr, "Missing output file\n");
|
||||||
@ -27,7 +27,7 @@ int main(int argc, char** argv) {
|
|||||||
list = pack_listfiles(packfile, &nlist);
|
list = pack_listfiles(packfile, &nlist);
|
||||||
fprintf(stdout, "Packfile '%s' contains:\n", packfile);
|
fprintf(stdout, "Packfile '%s' contains:\n", packfile);
|
||||||
for(i = 0; i < nlist; i++) {
|
for(i = 0; i < nlist; i++) {
|
||||||
fprintf(stdout, " %03d %s\n", i, list[i]);
|
fprintf(stdout, " %04d %s\n", i, list[i]);
|
||||||
free(list[i]);
|
free(list[i]);
|
||||||
}
|
}
|
||||||
free(list);
|
free(list);
|
||||||
|
Loading…
Reference in New Issue
Block a user