(Fmake_string): Use MAX_MULTIBYTE_LENGTH, instead of hard coded `4'.
This commit is contained in:
parent
75056d4015
commit
d942b71c34
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue