Removing multiplication breaking attributes

This commit is contained in:
Andrew Haynes
2026-07-15 01:16:05 -04:00
parent 55db25040a
commit 5fef946de3
+2 -2
View File
@@ -218,7 +218,7 @@ inherit_from_jpeg(const JPEG* in, const char fmt)
{ {
PPM image = { .width = in->width, PPM image = { .width = in->width,
.height = in->height, .height = in->height,
.len = in->width * in->height, .len = in->len,
.fmt = fmt }; .fmt = fmt };
return image; return image;
} }
@@ -229,7 +229,7 @@ inherit_from_ppm(const PPM* in)
JPEG image = { JPEG image = {
.width = in->width, .width = in->width,
.height = in->height, .height = in->height,
.len = in->width * in->height, .len = in->len,
}; };
return image; return image;
} }