mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
chang variable name and fix Unicode to CNS plan 2 conversion mapping
This commit is contained in:
parent
0c1330d6ce
commit
578de8a77c
@ -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)
|
||||
{
|
||||
}
|
||||
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user