changeset 26852:a06c16bde275

(doprnt1): Adjusted for the change of CHAR_STRING.
author Kenichi Handa <handa@m17n.org>
date Wed, 15 Dec 1999 00:09:57 +0000
parents 2513566d55fd
children bf700e4957ec
files src/doprnt.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/doprnt.c	Wed Dec 15 00:09:32 1999 +0000
+++ b/src/doprnt.c	Wed Dec 15 00:09:57 1999 +0000
@@ -301,7 +301,8 @@
 	    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);