diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2010-03-30 18:15:38 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2010-03-30 18:15:38 +0000 |
commit | 0b0f936de4ede3a65915123d836c4ae0dd91760b (patch) | |
tree | a40e0b77b9aa19eae63e6e4e1ac6a87e98200b41 /editors/emacs22/files | |
parent | xsw is a tool for generating presentations. (diff) |
- update patch png14
PR: 145171
Notes
Notes:
svn path=/head/; revision=251847
Diffstat (limited to 'editors/emacs22/files')
-rw-r--r-- | editors/emacs22/files/patch-src-image.c | 4 |
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; |