RGBFIX returns 1 if there was a -Werror before processing any files

This commit is contained in:
Rangi42
2025-07-26 12:29:57 -04:00
parent 0df5b7b86d
commit ac632d9223
5 changed files with 22 additions and 19 deletions

View File

@@ -901,7 +901,7 @@ int main(int argc, char *argv[]) {
fatalWithUsage("If `-o` is set then only a single input file may be specified");
}
bool failed = false;
bool failed = anyErrors();
do {
failed |= processFilename(*argv, outputFilename);
} while (*++argv);