(cos_print_object): Fix duplicated `?' when printing a character.
authorMORIOKA Tomohiko <tomo.git@chise.org>
Thu, 18 Apr 2013 02:17:56 +0000 (11:17 +0900)
committerMORIOKA Tomohiko <tomo.git@chise.org>
Thu, 18 Apr 2013 02:17:56 +0000 (11:17 +0900)
print.c

diff --git a/print.c b/print.c
index 0a8952b..2f936d6 100644 (file)
--- a/print.c
+++ b/print.c
@@ -248,7 +248,7 @@ cos_print_object (COS_object obj)
       char id_buf[256];
 
       cos_utf8_print_char (obj, id_buf, 256);
-      printf ("?%s", id_buf);
+      printf ("%s", id_buf);
     }
   else if ( COS_OBJECT_STRING_P (obj) )
     {