projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f8c655
)
; * src/image.c (syms_of_image): Add missed part of change.
author
Po Lu
<luangruo@yahoo.com>
Sun, 6 Nov 2022 12:11:56 +0000
(20:11 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Sun, 6 Nov 2022 12:11:56 +0000
(20:11 +0800)
Author:
src/image.c
patch
|
blob
|
history
diff --git
a/src/image.c
b/src/image.c
index 15eaf89d7f62668fe4acafabd9339e69df677256..600c32571e166764dd970df77cedf9c405891691 100644
(file)
--- a/
src/image.c
+++ b/
src/image.c
@@
-12217,7
+12217,10
@@
non-numeric, there is no explicit limit on the size of images. */);
&& ((defined HAVE_NS && defined NS_IMPL_COCOA) \
|| defined HAVE_HAIKU)
DEFSYM (Qsvg, "svg");
- add_image_type (Qsvg);
+
+ /* On Haiku, the SVG translator may not be installed. */
+ if (image_can_use_native_api (Qsvg))
+ add_image_type (Qsvg);
#endif
#ifdef HAVE_NS