From c4126ad8ce0513ec16aa2e4180eb6545548710a0 Mon Sep 17 00:00:00 2001 From: shuffle2 Date: Sat, 30 Jul 2022 22:34:16 -0700 Subject: [PATCH] Fix typo in decode.md (#225) --- docs/decode.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/decode.md b/docs/decode.md index bdf0ecf..44e60af 100644 --- a/docs/decode.md +++ b/docs/decode.md @@ -203,7 +203,7 @@ If the `SPNG_DECODE_PROGRESSIVE` flag is set the decoder will be initialized with `fmt` and `flags` for progressive decoding, the values of `out`, `len` are ignored. -The `SPNG_DECODE_TNRS` flag is silently ignored if the PNG does not +The `SPNG_DECODE_TRNS` flag is silently ignored if the PNG does not contain a tRNS chunk or is not applicable for the color type. This function can only be called once per context.