From 91f045dfa34e21bb6a722e15d1141cc3a4d86add Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Wed, 15 Dec 1999 00:09:57 +0000 Subject: [PATCH] (doprnt1): Adjusted for the change of CHAR_STRING. --- src/doprnt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/doprnt.c b/src/doprnt.c index 2e8f498ddcf..1d792a9a291 100644 --- a/src/doprnt.c +++ b/src/doprnt.c @@ -301,7 +301,8 @@ doprnt1 (lispstrings, buffer, bufsize, format, format_end, nargs, args) case 'c': if (cnt == nargs) error ("not enough arguments for format string"); - tem = CHAR_STRING ((int) (EMACS_INT) args[cnt], charbuf, string); + tem = CHAR_STRING ((int) (EMACS_INT) args[cnt], charbuf); + string = charbuf; cnt++; string[tem] = 0; width = strwidth (string, tem); -- 2.39.5