diff options
Diffstat (limited to 'graphics/mhgui/files/patch-src-ImageData.cpp')
-rw-r--r-- | graphics/mhgui/files/patch-src-ImageData.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/mhgui/files/patch-src-ImageData.cpp b/graphics/mhgui/files/patch-src-ImageData.cpp index 62b650580caf..e710a9dc9027 100644 --- a/graphics/mhgui/files/patch-src-ImageData.cpp +++ b/graphics/mhgui/files/patch-src-ImageData.cpp @@ -5,7 +5,7 @@ fread(sig, 1, 8, infile); - if (!png_check_sig((unsigned char *) sig, 8)) -+ if (!png_sig_cmp((unsigned char *) sig, 0, 8)) ++ if (png_sig_cmp((unsigned char *) sig, 0, 8)) { fclose(infile); return false; // seems not to be a valid png file |