From 6f60a066e9a566b9d1cc9c8870bb392483c74118 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Tue, 6 Feb 2018 22:21:04 +0100 Subject: [PATCH] Load_ICO() fix when libpng is disabled --- src/fileformats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fileformats.c b/src/fileformats.c index cf4d3594..70efd7a8 100644 --- a/src/fileformats.c +++ b/src/fileformats.c @@ -2080,7 +2080,7 @@ void Load_ICO(T_IO_Context * context) Load_PNG_Sub(context, file); } #else - if (0 = memcmp(png_header, "\x89PNG", 4)) + if (0 == memcmp(png_header, "\x89PNG", 4)) { // NO PNG Support Warning("PNG Signature : Compiled without libpng support");