From 94f2ceac1595d7297d76a734fcd1bc111622f6dd Mon Sep 17 00:00:00 2001 From: Matthew Gregan Date: Sat, 12 Mar 2016 01:55:59 +1300 Subject: [PATCH] Fix typo in stbi__parse_uncompressed_block --- stb_image.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stb_image.h b/stb_image.h index e06f7a1..289d804 100644 --- a/stb_image.h +++ b/stb_image.h @@ -3732,7 +3732,7 @@ static int stbi__compute_huffman_codes(stbi__zbuf *a) return 1; } -static int stbi__parse_uncomperssed_block(stbi__zbuf *a) +static int stbi__parse_uncompressed_block(stbi__zbuf *a) { stbi_uc header[4]; int len,nlen,k; @@ -3798,7 +3798,7 @@ static int stbi__parse_zlib(stbi__zbuf *a, int parse_header) final = stbi__zreceive(a,1); type = stbi__zreceive(a,2); if (type == 0) { - if (!stbi__parse_uncomperssed_block(a)) return 0; + if (!stbi__parse_uncompressed_block(a)) return 0; } else if (type == 3) { return 0; } else {