Commits

ben  committed aaf96f4

[xemacs-hg @ 2005-11-22 07:19:31 by ben]
fix crash printing iso2022 coding systems

mule-coding.c: Fix crashes printing ISO2022 coding systems.

  • Participants
  • Parent commits 193188e
  • Tags ben-lisp-object-bp

Comments (0)

Files changed (2)

File src/ChangeLog

+2005-11-22  Ben Wing  <ben@xemacs.org>
+
+	* mule-coding.c (FROB):
+	Fix crashes printing ISO2022 coding systems.
+
 2005-11-22  Ben Wing  <ben@xemacs.org>
 
 	* Makefile.in.in (mostlyclean):

File src/mule-coding.c

 	write_c_string (printcharfun, "(force)");
     }
 
-#define FROB(prop)					\
-  if (!NILP (iso2022_getprop (cs, prop)))		\
-    {							\
-      write_fmt_string (printcharfun, ", %s", prop);	\
+#define FROB(prop)					        \
+  if (!NILP (iso2022_getprop (cs, prop)))		        \
+    {						                \
+      write_fmt_string_lisp (printcharfun, ", %s", 1, prop);	\
     }
   
   FROB (Qshort);