Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
e1e40b38
Commit
e1e40b38
authored
Jan 19, 2001
by
Kenichi Handa
Browse files
(Fformat): Use lisp_string_width instead of strwidth.
parent
7173eada
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
src/editfns.c
src/editfns.c
+1
-2
No files found.
src/editfns.c
View file @
e1e40b38
...
...
@@ -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. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment