diff --git a/src/regex/regcustom.h b/src/regex/regcustom.h index f5486920e7..14daa24d04 100644 --- a/src/regex/regcustom.h +++ b/src/regex/regcustom.h @@ -72,9 +72,9 @@ typedef long celt; /* type to hold chr, MCCE number, or /* RN - the "not use sizeof() thing is really asanine!" */ #ifdef wxUSE_UNICODE -# define CHRBITS 8 +# define CHRBITS 32 #else -# define CHRBITS 32 /* bits in a chr; must not use sizeof */ +# define CHRBITS 8 /* bits in a chr; must not use sizeof */ #endif #define CHR_MIN 0x00000000 /* smallest and largest chr; the value */ #define CHR_MAX (1 << CHRBITS) /*0xfffffffe*/ /* CHR_MAX-CHR_MIN+1 should fit in uchr */