From 9705dcfcd65c94d0a2fd7777e3ee7e236435ca85 Mon Sep 17 00:00:00 2001 From: Stig Venaas Date: Sat, 22 Dec 2001 17:17:52 +0000 Subject: [PATCH] Error in exclusion set macros --- libraries/liblunicode/ucdata/ucgendat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/liblunicode/ucdata/ucgendat.c b/libraries/liblunicode/ucdata/ucgendat.c index 09107ac0b0..e7a9a563e7 100644 --- a/libraries/liblunicode/ucdata/ucgendat.c +++ b/libraries/liblunicode/ucdata/ucgendat.c @@ -112,8 +112,8 @@ static unsigned long decomps_size; /* * Composition exclusion table stuff. */ -#define COMPEX_SET(c) (compexs[(c) >> 15] |= (1 << ((c) & 31))) -#define COMPEX_TEST(c) (compexs[(c) >> 15] & (1 << ((c) & 31))) +#define COMPEX_SET(c) (compexs[(c) >> 5] |= (1 << ((c) & 31))) +#define COMPEX_TEST(c) (compexs[(c) >> 5] & (1 << ((c) & 31))) static unsigned long compexs[2048]; /* -- 2.39.5