Load_ICO() fix when libpng is disabled

This commit is contained in:
Thomas Bernard 2018-02-06 22:21:04 +01:00
parent f89b679224
commit 6f60a066e9

View File

@ -2080,7 +2080,7 @@ void Load_ICO(T_IO_Context * context)
Load_PNG_Sub(context, file); Load_PNG_Sub(context, file);
} }
#else #else
if (0 = memcmp(png_header, "\x89PNG", 4)) if (0 == memcmp(png_header, "\x89PNG", 4))
{ {
// NO PNG Support // NO PNG Support
Warning("PNG Signature : Compiled without libpng support"); Warning("PNG Signature : Compiled without libpng support");