Commit 1661e56b authored by Andreas Schwab's avatar Andreas Schwab
Browse files

(print_string): Fix printing of multibyte string with

nontrivial printcharfun.
parent ae6f46f9
2003-08-09 Andreas Schwab <schwab@suse.de>
* print.c (print_string): Fix printing of multibyte string with
nontrivial printcharfun.
2003-07-31 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 2003-07-31 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
* xfns.c (xg_set_icon): Rewrite to compile with GTK 2.0 and 2.2. * xfns.c (xg_set_icon): Rewrite to compile with GTK 2.0 and 2.2.
......
...@@ -506,7 +506,7 @@ print_string (string, printcharfun) ...@@ -506,7 +506,7 @@ print_string (string, printcharfun)
for (i = 0; i < size; i++) for (i = 0; i < size; i++)
PRINTCHAR (SREF (string, i)); PRINTCHAR (SREF (string, i));
else else
for (i = 0; i < size_byte; i++) for (i = 0; i < size_byte; )
{ {
/* Here, we must convert each multi-byte form to the /* Here, we must convert each multi-byte form to the
corresponding character code before handing it to PRINTCHAR. */ corresponding character code before handing it to PRINTCHAR. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment