aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlan Third2018-10-24 12:15:16 +0100
committerAlan Third2018-10-25 16:01:15 +0100
commitf5f95838bdac9a88ccc00886c6d59d9d5ac73647 (patch)
tree8138259acc9d5043a231d431b3b0c2419aae6b05 /src
parentf3d01d465398afee11c584a559c6842f575f5a03 (diff)
downloademacs-f5f95838bdac9a88ccc00886c6d59d9d5ac73647.tar.gz
emacs-f5f95838bdac9a88ccc00886c6d59d9d5ac73647.zip
Improve XPM load failure message (bug#33126)
* src/image.c (xpm_load_image): Only XPM3 is supported, so make that explicit.
Diffstat (limited to 'src')
-rw-r--r--src/image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/image.c b/src/image.c
index 767979e63bd..a6b2d9060b1 100644
--- a/src/image.c
+++ b/src/image.c
@@ -4308,7 +4308,7 @@ xpm_load_image (struct frame *f,
4308 return 1; 4308 return 1;
4309 4309
4310 failure: 4310 failure:
4311 image_error ("Invalid XPM file (%s)", img->spec); 4311 image_error ("Invalid XPM3 file (%s)", img->spec);
4312 x_destroy_x_image (ximg); 4312 x_destroy_x_image (ximg);
4313 x_destroy_x_image (mask_img); 4313 x_destroy_x_image (mask_img);
4314 x_clear_image (f, img); 4314 x_clear_image (f, img);