diff options
| author | Kenichi Handa | 1998-02-20 11:14:32 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1998-02-20 11:14:32 +0000 |
| commit | 3f49e599457bcc8b56916382dcc41180621c1992 (patch) | |
| tree | 955e7f123085262cc6fe4cde4b5eeb2139fc2172 /src | |
| parent | 021452a7263cc9308602254ed68cc1fec1ffb8a0 (diff) | |
| download | emacs-3f49e599457bcc8b56916382dcc41180621c1992.tar.gz emacs-3f49e599457bcc8b56916382dcc41180621c1992.zip | |
(Fmessage): Check byte size (instead of char size) of
VAL against MESSAGE_LENGTH.
Diffstat (limited to 'src')
| -rw-r--r-- | src/editfns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/editfns.c b/src/editfns.c index 3ad14164a8f..9fc69b74de9 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -2072,7 +2072,7 @@ minibuffer contents show.") | |||
| 2072 | message_text = (char *)xmalloc (80); | 2072 | message_text = (char *)xmalloc (80); |
| 2073 | message_length = 80; | 2073 | message_length = 80; |
| 2074 | } | 2074 | } |
| 2075 | if (XSTRING (val)->size > message_length) | 2075 | if (XSTRING (val)->size_byte > message_length) |
| 2076 | { | 2076 | { |
| 2077 | message_length = XSTRING (val)->size_byte; | 2077 | message_length = XSTRING (val)->size_byte; |
| 2078 | message_text = (char *)xrealloc (message_text, message_length); | 2078 | message_text = (char *)xrealloc (message_text, message_length); |