From 29fbd00272455dad6f2d24f8fc907e2ba716bc59 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 30 Oct 2006 07:54:39 +0000 Subject: [PATCH] ITS#4724 fix _uccase_map parameters --- libraries/liblunicode/ucdata/ucgendat.c | 4 ++-- libraries/liblunicode/ucdata/uctable.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libraries/liblunicode/ucdata/ucgendat.c b/libraries/liblunicode/ucdata/ucgendat.c index 18d02b6573..af320b80a4 100644 --- a/libraries/liblunicode/ucdata/ucgendat.c +++ b/libraries/liblunicode/ucdata/ucgendat.c @@ -1409,10 +1409,10 @@ write_cdata(char *opath) #if HARDCODE_DATA fprintf(out, PREF "ac_uint4 _uccase_size = %ld;\n\n", - (long) (upper_used + lower_used + title_used)); + (long) (upper_used + lower_used + title_used)*3); fprintf(out, PREF "ac_uint2 _uccase_len[2] = {%ld, %ld};\n\n", - (long) upper_used, (long) lower_used); + (long) upper_used*3, (long) lower_used*3); fprintf(out, PREF "ac_uint4 _uccase_map[] = {"); if (upper_used > 0) diff --git a/libraries/liblunicode/ucdata/uctable.h b/libraries/liblunicode/ucdata/uctable.h index 6aef2322f2..c1a31901db 100644 --- a/libraries/liblunicode/ucdata/uctable.h +++ b/libraries/liblunicode/ucdata/uctable.h @@ -1493,9 +1493,9 @@ static const ac_uint4 _ucprop_ranges[] = { 0x0000fe70, 0x0000fe74, 0x0000fe76, 0x0000fefc }; -static const ac_uint4 _uccase_size = 1504; +static const ac_uint4 _uccase_size = 4512; -static const ac_uint2 _uccase_len[2] = {745, 755}; +static const ac_uint2 _uccase_len[2] = {2235, 2265}; static const ac_uint4 _uccase_map[] = { 0x00000041, 0x00000061, 0x00000041, -- 2.39.5