Mercurial > hg > xemacs-beta
diff src/doprnt.c @ 568:430f8ca10ca6
[xemacs-hg @ 2001-05-24 12:12:03 by yoshiki]
Norbert Koch's patch "Re: Notice of commit by yoshiki in XEmacs/xemacs/src",
<vzu22bngmy.fsf@lamia.LF.net>
* doprnt.c (emacs_doprnt_1): forgotten sons of Ben's error patch
author | yoshiki |
---|---|
date | Thu, 24 May 2001 12:12:16 +0000 |
parents | 183866b06e0b |
children | 910449c92002 |
line wrap: on
line diff
--- 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,