aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Kangas2021-10-23 02:46:06 +0200
committerStefan Kangas2021-10-23 02:46:06 +0200
commit0170e6d0e876e897cf98e1e1767523dcf058090e (patch)
tree8f9901c082c3630abe479e0ca602600405dce477 /src
parent51719617eb19833056618ebac403cdcaf711551a (diff)
downloademacs-0170e6d0e876e897cf98e1e1767523dcf058090e.tar.gz
emacs-0170e6d0e876e897cf98e1e1767523dcf058090e.zip
* src/image.c (webp_load): Fix thinkos.
Diffstat (limited to 'src')
-rw-r--r--src/image.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/image.c b/src/image.c
index 308dc687260..f78ad044ab2 100644
--- a/src/image.c
+++ b/src/image.c
@@ -8888,7 +8888,7 @@ webp_load (struct frame *f, struct image *img)
8888 /* Validate the WebP image header. */ 8888 /* Validate the WebP image header. */
8889 if (!WebPGetInfo (contents, size, NULL, NULL)) 8889 if (!WebPGetInfo (contents, size, NULL, NULL))
8890 { 8890 {
8891 if (!NILP (specified_data)) 8891 if (NILP (specified_data))
8892 image_error ("Not a WebP file: `%s'", file); 8892 image_error ("Not a WebP file: `%s'", file);
8893 else 8893 else
8894 image_error ("Invalid header in WebP image data"); 8894 image_error ("Invalid header in WebP image data");
@@ -8911,7 +8911,7 @@ webp_load (struct frame *f, struct image *img)
8911 case VP8_STATUS_USER_ABORT: 8911 case VP8_STATUS_USER_ABORT:
8912 default: 8912 default:
8913 /* Error out in all other cases. */ 8913 /* Error out in all other cases. */
8914 if (!NILP (specified_data)) 8914 if (NILP (specified_data))
8915 image_error ("Error when interpreting WebP image data: `%s'", file); 8915 image_error ("Error when interpreting WebP image data: `%s'", file);
8916 else 8916 else
8917 image_error ("Error when interpreting WebP image data"); 8917 image_error ("Error when interpreting WebP image data");