commit ddc463d601b615f3be787a41e435ccb2a504eb05
parent 8e8ba7dcbf5376679f865aabe92894292fe36730
Author: sin <sin@2f30.org>
Date: Fri, 5 Jun 2015 13:54:59 +0100
Fix alignment
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/png.c b/png.c
@@ -28,9 +28,9 @@ parseimg(char *f, void (*fn)(int, int, int))
png_set_add_alpha(png_struct_p, 255, PNG_FILLER_AFTER);
png_set_gray_to_rgb(png_struct_p);
png_read_png(png_struct_p, png_info_p, PNG_TRANSFORM_STRIP_16 |
- PNG_TRANSFORM_PACKING | PNG_TRANSFORM_EXPAND , NULL);
+ PNG_TRANSFORM_PACKING | PNG_TRANSFORM_EXPAND , NULL);
png_get_IHDR(png_struct_p, png_info_p, &width, &height, &depth,
- &color, &interlace, NULL, NULL);
+ &color, &interlace, NULL, NULL);
png_row_p = png_get_rows(png_struct_p, png_info_p);
for (y = 0; y < height; y++) {