Mercurial > emacs
changeset 35440:21817d18668c
(Fformat): Use lisp_string_width instead of strwidth.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Fri, 19 Jan 2001 23:38:06 +0000 |
parents | e233950d5d07 |
children | d85fe63db92b |
files | src/editfns.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/editfns.c Fri Jan 19 23:37:52 2001 +0000 +++ b/src/editfns.c Fri Jan 19 23:38:06 2001 +0000 @@ -3311,8 +3311,7 @@ if (STRINGP (args[n])) { int padding, nbytes; - int width = strwidth (XSTRING (args[n])->data, - STRING_BYTES (XSTRING (args[n]))); + int width = lisp_string_width (args[n], -1, NULL, NULL); int start = nchars; /* If spec requires it, pad on right with spaces. */