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
3f49e599
Commit
3f49e599
authored
Feb 20, 1998
by
Kenichi Handa
Browse files
(Fmessage): Check byte size (instead of char size) of
VAL against MESSAGE_LENGTH.
parent
021452a7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/editfns.c
src/editfns.c
+1
-1
No files found.
src/editfns.c
View file @
3f49e599
...
...
@@ -2072,7 +2072,7 @@ minibuffer contents show.")
message_text
=
(
char
*
)
xmalloc
(
80
);
message_length
=
80
;
}
if (XSTRING (val)->size > message_length)
if
(
XSTRING
(
val
)
->
size
_byte
>
message_length
)
{
message_length
=
XSTRING
(
val
)
->
size_byte
;
message_text
=
(
char
*
)
xrealloc
(
message_text
,
message_length
);
...
...
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