mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-30 04:30:43 +00:00
fix an oopsie with the verbose output of extract and create
This commit is contained in:
parent
568e7ecdb2
commit
b4b14b096f
1 changed files with 2 additions and 2 deletions
|
@ -61,7 +61,7 @@ main (int argc, char **argv)
|
|||
}
|
||||
for (i = 0; i < pack->numfiles; i++) {
|
||||
if (verbose)
|
||||
fprintf (stderr, "%s\n", pack->files[i].name);
|
||||
printf ("%s\n", pack->files[i].name);
|
||||
pack_extract (pack, &pack->files[i]);
|
||||
}
|
||||
pack_close (pack);
|
||||
|
@ -90,7 +90,7 @@ main (int argc, char **argv)
|
|||
pack->pad = pad;
|
||||
while (optind < argc) {
|
||||
if (verbose)
|
||||
fprintf (stderr, "%s\n", argv[optind]);
|
||||
printf ("%s\n", argv[optind]);
|
||||
pack_add (pack, argv[optind++]);
|
||||
}
|
||||
pack_close (pack);
|
||||
|
|
Loading…
Reference in a new issue