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
470730a8
Commit
470730a8
authored
Jan 12, 1998
by
Kenichi Handa
Browse files
(concat): Check STRINGP before increasing result_len_byte.
parent
e68e61b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/fns.c
src/fns.c
+1
-1
No files found.
src/fns.c
View file @
470730a8
...
@@ -456,7 +456,7 @@ concat (nargs, args, target_type, last_special)
...
@@ -456,7 +456,7 @@ concat (nargs, args, target_type, last_special)
if
(
this_len_byte
>
1
)
if
(
this_len_byte
>
1
)
some_multibyte
=
1
;
some_multibyte
=
1
;
}
}
else
else
if
(
STRINGP
(
this
))
{
{
result_len_byte
+=
XSTRING
(
this
)
->
size_byte
;
result_len_byte
+=
XSTRING
(
this
)
->
size_byte
;
if
(
STRING_MULTIBYTE
(
this
))
if
(
STRING_MULTIBYTE
(
this
))
...
...
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