comparison src/mule-canna.c @ 74:54cc21c15cbb r20-0b32

Import from CVS: tag r20-0b32
author cvs
date Mon, 13 Aug 2007 09:04:33 +0200
parents 131b0175ea99
children 1ce6082ce73f
comparison
equal deleted inserted replaced
73:e2d7a37b7c8d 74:54cc21c15cbb
1513 1513
1514 while ((cp < ep) && (ch = *cp)) 1514 while ((cp < ep) && (ch = *cp))
1515 { 1515 {
1516 if ((unsigned char) ch == ISO_CODE_SS2) 1516 if ((unsigned char) ch == ISO_CODE_SS2)
1517 { 1517 {
1518 *mp++ = LEADING_BYTE_JAPANESE_JISX0201_KANA; 1518 *mp++ = LEADING_BYTE_KATAKANA_JISX0201;
1519 cp++; 1519 cp++;
1520 } 1520 }
1521 else if ((unsigned char) ch == ISO_CODE_SS3) 1521 else if ((unsigned char) ch == ISO_CODE_SS3)
1522 { 1522 {
1523 *mp++ = LEADING_BYTE_JAPANESE_JISX0212; 1523 *mp++ = LEADING_BYTE_JAPANESE_JISX0212;
1543 1543
1544 while ((mp < ep) && (ch = *mp++)) 1544 while ((mp < ep) && (ch = *mp++))
1545 { 1545 {
1546 switch (ch) 1546 switch (ch)
1547 { 1547 {
1548 case LEADING_BYTE_JAPANESE_JISX0201_KANA: 1548 case LEADING_BYTE_KATAKANA_JISX0201:
1549 *cp++ = ISO_CODE_SS2; 1549 *cp++ = ISO_CODE_SS2;
1550 *cp++ = *mp++; 1550 *cp++ = *mp++;
1551 break; 1551 break;
1552 case LEADING_BYTE_JAPANESE_JISX0212: 1552 case LEADING_BYTE_JAPANESE_JISX0212:
1553 *cp++ = ISO_CODE_SS3; 1553 *cp++ = ISO_CODE_SS3;