summaryrefslogtreecommitdiff
path: root/editors/emacs22/files
diff options
context:
space:
mode:
Diffstat (limited to 'editors/emacs22/files')
-rw-r--r--editors/emacs22/files/patch-src-image.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/emacs22/files/patch-src-image.c b/editors/emacs22/files/patch-src-image.c
index c031bb012f30..408d00ba8095 100644
--- a/editors/emacs22/files/patch-src-image.c
+++ b/editors/emacs22/files/patch-src-image.c
@@ -32,7 +32,7 @@
/* Check PNG signature. */
if (fread (sig, 1, sizeof sig, fp) != sizeof sig
- || !fn_png_check_sig (sig, sizeof sig))
-+ || !fn_png_sig_cmp (sig, 0, sizeof sig))
++ || fn_png_sig_cmp (sig, 0, sizeof sig))
{
image_error ("Not a PNG file: `%s'", file, Qnil);
UNGCPRO;
@@ -41,7 +41,7 @@
/* Check PNG signature. */
if (tbr.len < sizeof sig
- || !fn_png_check_sig (tbr.bytes, sizeof sig))
-+ || !fn_png_sig_cmp (tbr.bytes, 0, sizeof sig))
++ || fn_png_sig_cmp (tbr.bytes, 0, sizeof sig))
{
image_error ("Not a PNG image: `%s'", img->spec, Qnil);
UNGCPRO;