summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/benoit/wrtimg.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/benoit/wrtimg.cc b/src/benoit/wrtimg.cc
index 7e62b34..f0c12d0 100644
--- a/src/benoit/wrtimg.cc
+++ b/src/benoit/wrtimg.cc
@@ -28,7 +28,7 @@ void benoit::wrtimg(std::vector<std::uint8_t> * img) {
case benoit::t::imgfmt::png:
break;
case benoit::t::imgfmt::webp:
- datsiz = WebPEncodeLosslessRGB(img->data(),benoit::d::resx,benoit::d::resy,(benoit::d::resy * 0x3),&dat);
+ datsiz = WebPEncodeLosslessRGB(img->data(),benoit::d::resx,benoit::d::resy,(benoit::d::resx * 0x3),&dat);
break;
}
int file = ::open(benoit::d::outimg.c_str(),(O_CREAT | O_TRUNC | O_WRONLY),0x1B4);