emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 44138d5ecc 2/2: ; * src/image.c (syms_of_image): Add missed part


From: Po Lu
Subject: master 44138d5ecc 2/2: ; * src/image.c (syms_of_image): Add missed part of change.
Date: Sun, 6 Nov 2022 07:12:17 -0500 (EST)

branch: master
commit 44138d5ecce275caef9efe0ae4f4a89e4a33b588
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    ; * src/image.c (syms_of_image): Add missed part of change.
    
    Author:
---
 src/image.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/image.c b/src/image.c
index 15eaf89d7f..600c32571e 100644
--- 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]