comparison src/fns.c @ 89615:88fa74816908

(base64_encode_1): Fix previous change.
author Kenichi Handa <handa@m17n.org>
date Thu, 13 Nov 2003 06:03:46 +0000
parents 7ca60ab7a039
children 4e86a45294f5
comparison
equal deleted inserted replaced
89614:355fc0282e50 89615:88fa74816908
3298 { 3298 {
3299 c = STRING_CHAR_AND_LENGTH (from + i, length - i, bytes); 3299 c = STRING_CHAR_AND_LENGTH (from + i, length - i, bytes);
3300 if (CHAR_BYTE8_P (c)) 3300 if (CHAR_BYTE8_P (c))
3301 c = CHAR_TO_BYTE8 (c); 3301 c = CHAR_TO_BYTE8 (c);
3302 else if (c >= 256) 3302 else if (c >= 256)
3303 return -1;
3303 i += bytes; 3304 i += bytes;
3304 } 3305 }
3305 else 3306 else
3306 c = from[i++]; 3307 c = from[i++];
3307 3308