(Fmake_string): Use MAX_MULTIBYTE_LENGTH, instead of hard coded `4'.

This commit is contained in:
Kenichi Handa 2000-11-23 04:48:08 +00:00
parent 75056d4015
commit d942b71c34

View file

@ -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);