changeset 3084:aaf96f4ba612 ben-lisp-object-bp

[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.
author ben
date Tue, 22 Nov 2005 07:19:32 +0000
parents 193188e494b2
children d9ca850d40de e56f73345619
files src/ChangeLog src/mule-coding.c
diffstat 2 files changed, 9 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Tue Nov 22 07:14:54 2005 +0000
+++ b/src/ChangeLog	Tue Nov 22 07:19:32 2005 +0000
@@ -1,3 +1,8 @@
+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):
--- a/src/mule-coding.c	Tue Nov 22 07:14:54 2005 +0000
+++ b/src/mule-coding.c	Tue Nov 22 07:19:32 2005 +0000
@@ -2643,10 +2643,10 @@
 	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);