]> git.eshelyaron.com Git - emacs.git/commitdiff
(doprnt1): Adjusted for the change of CHAR_STRING.
authorKenichi Handa <handa@m17n.org>
Wed, 15 Dec 1999 00:09:57 +0000 (00:09 +0000)
committerKenichi Handa <handa@m17n.org>
Wed, 15 Dec 1999 00:09:57 +0000 (00:09 +0000)
src/doprnt.c

index 2e8f498ddcf53d6491b58aa5b20ad3b87bb8b8da..1d792a9a29193a41dbb3dcfe42407318ed5ed363 100644 (file)
@@ -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);