From: Kenichi Handa Date: Thu, 23 Nov 2000 04:48:08 +0000 (+0000) Subject: (Fmake_string): Use MAX_MULTIBYTE_LENGTH, instead of hard coded `4'. X-Git-Tag: emacs-pretest-21.0.92~136 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d942b71c340c317ffc6f35aca4c14279134107d2;p=emacs.git (Fmake_string): Use MAX_MULTIBYTE_LENGTH, instead of hard coded `4'. --- diff --git a/src/alloc.c b/src/alloc.c index ee4c52e53d3..df0ea1e5875 100644 --- 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);