diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/editfns.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/editfns.c b/src/editfns.c index c431be1161a..1871c54d2b7 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -3311,8 +3311,7 @@ Use %% to put a single % into the output.") | |||
| 3311 | if (STRINGP (args[n])) | 3311 | if (STRINGP (args[n])) |
| 3312 | { | 3312 | { |
| 3313 | int padding, nbytes; | 3313 | int padding, nbytes; |
| 3314 | int width = strwidth (XSTRING (args[n])->data, | 3314 | int width = lisp_string_width (args[n], -1, NULL, NULL); |
| 3315 | STRING_BYTES (XSTRING (args[n]))); | ||
| 3316 | int start = nchars; | 3315 | int start = nchars; |
| 3317 | 3316 | ||
| 3318 | /* If spec requires it, pad on right with spaces. */ | 3317 | /* If spec requires it, pad on right with spaces. */ |