mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
don't loop infinitely when failing to read a riff file
This commit is contained in:
parent
d63e7b609e
commit
71678e1859
1 changed files with 1 additions and 0 deletions
|
@ -53,6 +53,7 @@ main (int argc, char **argv)
|
|||
}
|
||||
if (!f || !riff) {
|
||||
fprintf (stderr, "couldn't read %s\n", argv[optind]);
|
||||
optind++;
|
||||
continue;
|
||||
}
|
||||
optind++;
|
||||
|
|
Loading…
Reference in a new issue