HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4e1c62
)
(message_dolog): Cast M to unsigned char * to access bytes.
author
Richard M. Stallman
<rms@gnu.org>
Tue, 27 Jan 1998 04:22:43 +0000
(
04:22
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Tue, 27 Jan 1998 04:22:43 +0000
(
04:22
+0000)
src/xdisp.c
patch
|
blob
|
blame
|
history
diff --git
a/src/xdisp.c
b/src/xdisp.c
index
0c7ce90
..
399cd0e
100644
(file)
--- a/
src/xdisp.c
+++ b/
src/xdisp.c
@@
-333,11
+333,12
@@
message_dolog (m, len, nlflag, multibyte)
&& ! NILP (current_buffer->enable_multibyte_characters))
{
int i = 0;
+ unsigned char *msg = (unsigned char *) m;
/* Convert a single-byte string to multibyte
for the *Message* buffer. */
while (i < len)
{
- int c = unibyte_char_to_multibyte (m[i++]);
+ int c = unibyte_char_to_multibyte (m
sg
[i++]);
insert_char (c);
}
}