mirror of
https://github.com/gbdev/rgbds.git
synced 2026-08-21 14:24:35 +00:00
Correct condition to completely print both palettes and options.palSpec
This commit is contained in:
+1
-1
@@ -252,7 +252,7 @@ void reverse() {
|
||||
warnx("Colors in the palette file do not match those specified with '-c'");
|
||||
// This spacing aligns "...versus with `-c`" above the column of `-c` palettes
|
||||
fputs("Colors specified in the palette file: ...versus with '-c':\n", stderr);
|
||||
for (size_t i = 0; i < palettes.size() && i < options.palSpec.size(); ++i) {
|
||||
for (size_t i = 0; i < palettes.size() || i < options.palSpec.size(); ++i) {
|
||||
if (i < palettes.size()) {
|
||||
printPalette(palettes[i]);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user