From 2e0991f32bc043793d2ca1c6b7ababd1c6a6a40f Mon Sep 17 00:00:00 2001 From: ISSOtm Date: Thu, 4 Aug 2022 19:46:18 +0200 Subject: [PATCH] Use proper 16-bit type for image reversing width Fixes #1015 --- include/gfx/main.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/gfx/main.hpp b/include/gfx/main.hpp index e9183e56..ad8bd4e4 100644 --- a/include/gfx/main.hpp +++ b/include/gfx/main.hpp @@ -21,7 +21,7 @@ #include "gfx/rgba.hpp" struct Options { - uint8_t reversedWidth = 0; // -r, in pixels + uint16_t reversedWidth = 0; // -r, in pixels bool reverse() const { return reversedWidth != 0; } bool useColorCurve = false; // -C