From 93b9490b500d9c053c236452df373bc46cae85c5 Mon Sep 17 00:00:00 2001 From: Pale Moon Date: Wed, 24 Sep 2014 16:59:47 +0200 Subject: Remove OS/2 code part 1 --- intl/uconv/ucvja/nsJapaneseToUnicode.cpp | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'intl/uconv/ucvja/nsJapaneseToUnicode.cpp') diff --git a/intl/uconv/ucvja/nsJapaneseToUnicode.cpp b/intl/uconv/ucvja/nsJapaneseToUnicode.cpp index c4277182b..07f5c49f0 100644 --- a/intl/uconv/ucvja/nsJapaneseToUnicode.cpp +++ b/intl/uconv/ucvja/nsJapaneseToUnicode.cpp @@ -15,18 +15,9 @@ static NS_DEFINE_CID(kCharsetConverterManagerCID, NS_ICHARSETCONVERTERMANAGER_CID); -#ifdef XP_OS2 - // HTML5-incompliant behavior for OS/2, see bug 108136 - // This is bogus. The right fix would be working around the font problems - // in OS/2 gfx, since this "fix" introduces script-visible DOM differences - // between the platforms. - #define SJIS_INDEX gIBM943Index[0] - #define JIS0208_INDEX gIBM943Index[1] -#else - // HTML5 says to use Windows-31J instead of the real Shift_JIS for decoding - #define SJIS_INDEX gCP932Index[0] - #define JIS0208_INDEX gCP932Index[1] -#endif +// HTML5 says to use Windows-31J instead of the real Shift_JIS for decoding +#define SJIS_INDEX gCP932Index[0] +#define JIS0208_INDEX gCP932Index[1] #define JIS0212_INDEX gJIS0212Index #define SJIS_UNMAPPED 0x30fb -- cgit v1.2.3