Use proper 16-bit type for image reversing width

Fixes #1015
This commit is contained in:
ISSOtm
2022-08-04 19:46:18 +02:00
parent f3f2c2ca16
commit 2e0991f32b

View File

@@ -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