Commit e1e40b38 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(Fformat): Use lisp_string_width instead of strwidth.

parent 7173eada
......@@ -3311,8 +3311,7 @@ Use %% to put a single % into the output.")
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. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment