chang variable name and fix Unicode to CNS plan 2 conversion mapping

This commit is contained in:
ftang%netscape.com 1999-06-10 14:27:40 +00:00
parent 0c1330d6ce
commit 578de8a77c
2 changed files with 5 additions and 5 deletions

View File

@ -23,7 +23,7 @@
//----------------------------------------------------------------------
// Global functions and data [declaration]
static PRInt16 g_CNS1ShiftTable[] = {
static PRInt16 g_ShiftTable[] = {
0, u2BytesCharset,
ShiftCell(0, 0, 0, 0, 0, 0, 0, 0),
};
@ -32,7 +32,7 @@ static PRInt16 g_CNS1ShiftTable[] = {
// Class nsUnicodeToCNS11643p1 [implementation]
nsUnicodeToCNS11643p1::nsUnicodeToCNS11643p1()
: nsTableEncoderSupport((uShiftTable*) &g_CNS1ShiftTable,
: nsTableEncoderSupport((uShiftTable*) &g_ShiftTable,
(uMappingTable*) &g_ufCNS1MappingTable)
{
}

View File

@ -23,7 +23,7 @@
//----------------------------------------------------------------------
// Global functions and data [declaration]
static PRInt16 g_CNS1ShiftTable[] = {
static PRInt16 g_ShiftTable[] = {
0, u2BytesCharset,
ShiftCell(0, 0, 0, 0, 0, 0, 0, 0),
};
@ -32,8 +32,8 @@ static PRInt16 g_CNS1ShiftTable[] = {
// Class nsUnicodeToCNS11643p2 [implementation]
nsUnicodeToCNS11643p2::nsUnicodeToCNS11643p2()
: nsTableEncoderSupport((uShiftTable*) &g_CNS1ShiftTable,
(uMappingTable*) &g_ufCNS1MappingTable)
: nsTableEncoderSupport((uShiftTable*) &g_ShiftTable,
(uMappingTable*) &g_ufCNS2MappingTable)
{
}