changeset 52164:809050824a8f

(print_string): Fix printing of multibyte string with nontrivial printcharfun.
author Andreas Schwab <schwab@suse.de>
date Fri, 08 Aug 2003 22:45:18 +0000
parents 0306a6f7d0f4
children 51abf235b3d3
files src/print.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/print.c	Fri Aug 08 02:32:06 2003 +0000
+++ b/src/print.c	Fri Aug 08 22:45:18 2003 +0000
@@ -506,7 +506,7 @@
 	for (i = 0; i < size; i++)
 	  PRINTCHAR (SREF (string, i));
       else
-	for (i = 0; i < size_byte; i++)
+	for (i = 0; i < size_byte; )
 	  {
 	    /* Here, we must convert each multi-byte form to the
 	       corresponding character code before handing it to PRINTCHAR.  */