make hl_ucs2_lower check against LMAX instead of UMAX
@@ -184,7 +184,7 @@ HL_PRIM vbyte* hl_ucs2_lower( vbyte *str, int pos, int len ) {
for(i=0;i<len;i++) {
unsigned int c = *cstr++;
int up = c >> UL_BITS;
- if( up < UMAX ) {
+ if( up < LMAX ) {
unsigned int c2 = LOWER[up][c&((1<<UL_BITS)-1)];
if( c2 != 0 ) *cout = (uchar)c2;
}
