diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-06-06 22:11:51 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-06-06 22:11:51 -0700 |
commit | 86f158bc15cd63740131ca102179c760a691e4c8 (patch) | |
tree | 98c2e9ae3581147606cd4604f8cc122cf6faba4e /lisp/emacs-lisp/benchmark.el | |
parent | b7014632a628bfb2a44fdb426e7ab145cc6a2eb5 (diff) | |
download | emacs-86f158bc15cd63740131ca102179c760a691e4c8.tar.gz emacs-86f158bc15cd63740131ca102179c760a691e4c8.tar.bz2 emacs-86f158bc15cd63740131ca102179c760a691e4c8.zip |
* doprnt.c (doprnt): Truncate multibyte char correctly.
Without this change, doprnt (buf, 2, "%s", FORMAT_END, AP)
would mishandle a string argument "Xc" if X was a multibyte
character of length 2: it would truncate after X's first byte
rather than including all of X.
Diffstat (limited to 'lisp/emacs-lisp/benchmark.el')
0 files changed, 0 insertions, 0 deletions