Skip to content

Commit 3c640a0

Browse files
committed
README: minor usage example fix [skip-ci]
thanks to @nedelec for pointing it out
1 parent 82b0c51 commit 3c640a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ spng_set_option(enc, SPNG_ENCODE_TO_BUFFER, 1);
7777
/* Specify image dimensions, PNG format */
7878
struct spng_ihdr ihdr =
7979
{
80-
.height = height,
8180
.width = width,
81+
.height = height,
8282
.bit_depth = 8,
8383
.color_type = SPNG_COLOR_TYPE_TRUECOLOR_ALPHA
8484
};

0 commit comments

Comments
 (0)