ref: 2e0991f32bc043793d2ca1c6b7ababd1c6a6a40f
parent: f3f2c2ca16ba3d624829bcece86c60f0e060c4ac
author: ISSOtm <eldredhabert0@gmail.com>
date: Thu Aug 4 15:46:18 EDT 2022
Use proper 16-bit type for image reversing width Fixes #1015
--- 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