summaryrefslogtreecommitdiff
path: root/intl/uconv/ucvja
diff options
context:
space:
mode:
authorPale Moon <git-repo@palemoon.org>2014-09-24 16:59:47 +0200
committerPale Moon <git-repo@palemoon.org>2014-09-24 16:59:47 +0200
commit93b9490b500d9c053c236452df373bc46cae85c5 (patch)
tree9d57a2935bd7e4279b866b465a585be1714aeb87 /intl/uconv/ucvja
parentf89dce3c82db7fabe2d3a933618f4d89a121ed2b (diff)
downloadpalemoon-gre-93b9490b500d9c053c236452df373bc46cae85c5.tar.gz
Remove OS/2 code part 1
Diffstat (limited to 'intl/uconv/ucvja')
-rw-r--r--intl/uconv/ucvja/nsJapaneseToUnicode.cpp15
1 files changed, 3 insertions, 12 deletions
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