# HG changeset patch # User yoshiki # Date 990706336 0 # Node ID 430f8ca10ca6415173d3e561d9008409ad8a6e72 # Parent 4a2749e56f92f42362693c937413c001f2dd1156 [xemacs-hg @ 2001-05-24 12:12:03 by yoshiki] Norbert Koch's patch "Re: Notice of commit by yoshiki in XEmacs/xemacs/src", * doprnt.c (emacs_doprnt_1): forgotten sons of Ben's error patch diff -r 4a2749e56f92 -r 430f8ca10ca6 src/ChangeLog --- a/src/ChangeLog Thu May 24 11:22:26 2001 +0000 +++ b/src/ChangeLog Thu May 24 12:12:16 2001 +0000 @@ -1,3 +1,7 @@ +2001-05-24 Norbert Koch + + * doprnt.c (emacs_doprnt_1): forgotten sons of Ben's error patch + 2001-05-06 Karl M. Hegbloom * config.h.in: HAVE_MKSTEMP diff -r 4a2749e56f92 -r 430f8ca10ca6 src/doprnt.c --- a/src/doprnt.c Thu May 24 11:22:26 2001 +0000 +++ b/src/doprnt.c Thu May 24 12:12:16 2001 +0000 @@ -559,7 +559,7 @@ if (!INT_OR_FLOATP (obj)) { syntax_error ("format specifier %%%c doesn't match argument type", - ch); + make_char (ch)); } else if (strchr (double_converters, ch)) arg.d = XFLOATINT (obj); @@ -585,7 +585,7 @@ a = (Emchar) arg.l; if (!valid_char_p (a)) - syntax_error ("invalid character value %d to %%c spec", a); + syntax_error ("invalid character value %d to %%c spec", make_char (a)); charlen = set_charptr_emchar (charbuf, a); doprnt_1 (stream, charbuf, charlen, spec->minwidth,