Fix RGBGFX to support -C/--color-curve in -r/--reverse mode (#2110)

Clarifies error message when RGBGFX reverse mode has `-c` mismatching `-p`.
This commit is contained in:
Rangi
2026-09-18 17:35:22 -04:00
committed by GitHub
parent 0286d4119e
commit 89403ca23b
9 changed files with 75 additions and 39 deletions
+1 -1
View File
@@ -528,7 +528,7 @@ static void verboseOutputConfig() {
for (auto const &pal : options.palSpec) {
fputs("\t\t", stderr);
for (auto const &color : pal) {
if (color) {
if (color.has_value()) {
fprintf(stderr, "#%06x, ", color->toCSS() >> 8);
} else {
fputs("#none, ", stderr);