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:
75056d4
)
(Fmake_string): Use MAX_MULTIBYTE_LENGTH, instead of hard coded `4'.
author
Kenichi Handa
<handa@m17n.org>
Thu, 23 Nov 2000 04:48:08 +0000
(
04:48
+0000)
committer
Kenichi Handa
<handa@m17n.org>
Thu, 23 Nov 2000 04:48:08 +0000
(
04:48
+0000)
src/alloc.c
patch
|
blob
|
blame
|
history
diff --git
a/src/alloc.c
b/src/alloc.c
index
ee4c52e
..
df0ea1e
100644
(file)
--- a/
src/alloc.c
+++ b/
src/alloc.c
@@
-1628,7
+1628,7
@@
Both LENGTH and INIT must be numbers.")
}
else
{
- unsigned char str[
4
];
+ unsigned char str[
MAX_MULTIBYTE_LENGTH
];
int len = CHAR_STRING (c, str);
nbytes = len * XINT (length);