comparison src/mule-coding.c @ 371:cc15677e0335 r21-2b1

Import from CVS: tag r21-2b1
author cvs
date Mon, 13 Aug 2007 11:03:08 +0200
parents a4f53d9b3154
children 8626e4521993
comparison
equal deleted inserted replaced
370:bd866891f083 371:cc15677e0335
3853 : !BYTE_ASCII_P (c) ? str->iso2022.register_right 3853 : !BYTE_ASCII_P (c) ? str->iso2022.register_right
3854 : str->iso2022.register_left); 3854 : str->iso2022.register_left);
3855 charset = str->iso2022.charset[reg]; 3855 charset = str->iso2022.charset[reg];
3856 3856
3857 /* Error checking: */ 3857 /* Error checking: */
3858 if (! CHARSETP (charset) 3858 if (NILP (charset) || str->iso2022.invalid_designated[reg]
3859 || str->iso2022.invalid_designated[reg]
3860 || (((c & 0x7F) == ' ' || (c & 0x7F) == ISO_CODE_DEL) 3859 || (((c & 0x7F) == ' ' || (c & 0x7F) == ISO_CODE_DEL)
3861 && XCHARSET_CHARS (charset) == 94)) 3860 && XCHARSET_CHARS (charset) == 94))
3862 /* Mrmph. We are trying to invoke a register that has no 3861 /* Mrmph. We are trying to invoke a register that has no
3863 or an invalid charset in it, or trying to add a character 3862 or an invalid charset in it, or trying to add a character
3864 outside the range of the charset. Insert that char literally 3863 outside the range of the charset. Insert that char literally