; * src/image.c (webp_load): Minor stylistic fix-up to previous change

* src/image.c (webp_load): Minor stylistic fix-up to previous change.
This commit is contained in:
Lars Ingebrigtsen 2021-12-05 23:31:36 +01:00
parent dd2a846890
commit 6620d03e33

View file

@ -9007,7 +9007,7 @@ webp_load (struct frame *f, struct image *img)
/* Validate the WebP image header. */
if (!WebPGetInfo (contents, size, NULL, NULL))
{
if (! NILP (file))
if (!NILP (file))
image_error ("Not a WebP file: `%s'", file);
else
image_error ("Invalid header in WebP image data");
@ -9030,7 +9030,7 @@ webp_load (struct frame *f, struct image *img)
case VP8_STATUS_USER_ABORT:
default:
/* Error out in all other cases. */
if (! NILP (file))
if (!NILP (file))
image_error ("Error when interpreting WebP image data: `%s'", file);
else
image_error ("Error when interpreting WebP image data");