From 408e861ecc2ad38a2f2ed4a03db97da6ba11bbae Mon Sep 17 00:00:00 2001 From: Rangi Date: Sun, 20 Sep 2026 14:32:04 -0400 Subject: [PATCH] Correct warning message about different RGBGFX `-L` and `-r` widths --- src/gfx/reverse.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gfx/reverse.cpp b/src/gfx/reverse.cpp index b5595b85..8a353108 100644 --- a/src/gfx/reverse.cpp +++ b/src/gfx/reverse.cpp @@ -123,10 +123,10 @@ void reverse() { || options.inputSlice.height != 0) { warnx("\"Sliced-off\" pixels are ignored in reverse mode"); } - if (options.inputSlice.width != 0 && options.inputSlice.width != options.reversedWidth * 8) { + if (options.inputSlice.width != 0 && options.inputSlice.width != options.reversedWidth) { warnx( "Specified input slice width (%" PRIu16 - ") does not match provided reversing width (%" PRIu16 " * 8)", + ") does not match provided reversing width (%" PRIu16 ")", options.inputSlice.width, options.reversedWidth );