зеркало из https://github.com/mozilla/gecko-dev.git
fix 80111. remove ASCII from the X11 Johab font encoding converter
r=bstell sr=blizzard
This commit is contained in:
Родитель
50996b210a
Коммит
23dfe09732
|
@ -27,11 +27,6 @@
|
|||
// Global functions and data [declaration]
|
||||
|
||||
|
||||
static PRUint16 gAsciiShiftTable[] = {
|
||||
0, u1ByteCharset,
|
||||
ShiftCell(0, 0, 0, 0, 0, 0, 0, 0),
|
||||
};
|
||||
|
||||
static PRUint16 gJohabSymbolShiftTable[] = {
|
||||
0, uJohabSymbolCharset,
|
||||
ShiftCell(0, 0, 0, 0, 0, 0, 0, 0),
|
||||
|
@ -41,14 +36,12 @@ static PRUint16 gJohabHangulShiftTable[] = {
|
|||
ShiftCell(0, 0, 0, 0, 0, 0, 0, 0),
|
||||
};
|
||||
|
||||
static PRUint16 *g_JohabMappingTable[3] = {
|
||||
g_AsciiMapping,
|
||||
static PRUint16 *g_JohabMappingTable[2] = {
|
||||
g_HangulNullMapping,
|
||||
g_ufKSC5601Mapping
|
||||
};
|
||||
|
||||
static PRUint16 *g_JohabShiftTable[3] = {
|
||||
gAsciiShiftTable,
|
||||
static PRUint16 *g_JohabShiftTable[2] = {
|
||||
gJohabHangulShiftTable,
|
||||
gJohabSymbolShiftTable
|
||||
};
|
||||
|
@ -57,7 +50,7 @@ static PRUint16 *g_JohabShiftTable[3] = {
|
|||
// Class nsUnicodeToEUCKR [implementation]
|
||||
|
||||
nsUnicodeToJohab::nsUnicodeToJohab()
|
||||
: nsMultiTableEncoderSupport(3,
|
||||
: nsMultiTableEncoderSupport(2,
|
||||
(uShiftTable**) g_JohabShiftTable,
|
||||
(uMappingTable**) g_JohabMappingTable)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче