changeset 33800:7f148cfbd1f7

(Fmake_string): Use MAX_MULTIBYTE_LENGTH, instead of hard coded `4'.
author Kenichi Handa <handa@m17n.org>
date Thu, 23 Nov 2000 04:48:08 +0000
parents 77de13a8a918
children 376f263369b8
files src/alloc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/alloc.c	Thu Nov 23 00:41:42 2000 +0000
+++ b/src/alloc.c	Thu Nov 23 04:48:08 2000 +0000
@@ -1628,7 +1628,7 @@
     }
   else
     {
-      unsigned char str[4];
+      unsigned char str[MAX_MULTIBYTE_LENGTH];
       int len = CHAR_STRING (c, str);
 
       nbytes = len * XINT (length);