summaryrefslogtreecommitdiff
path: root/mail/thunderbird/patches/patch-bn
blob: fd17b9e3b3cdd8507c1589175506e5597ff0e559 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-bn,v 1.2 2004/05/08 04:35:39 taya Exp $

diff -ru ../Orig/mozilla/xpcom/io/nsNativeCharsetUtils.cpp ./xpcom/io/nsNativeCharsetUtils.cpp
--- ../Orig/mozilla/xpcom/io/nsNativeCharsetUtils.cpp	2004-03-26 14:29:18.000000000 +0900
+++ ./xpcom/io/nsNativeCharsetUtils.cpp	2004-05-05 23:23:15.000000000 +0900
@@ -295,7 +295,12 @@
 {
     const char  *blank_list[] = { "", NULL };
     const char **native_charset_list = blank_list;
+#ifdef CODESET
     const char  *native_charset = nl_langinfo(CODESET);
+#else
+    const char  *native_charset = nsnull;
+#endif
+
     if (native_charset == nsnull) {
         NS_ERROR("native charset is unknown");
         // fallback to ISO-8859-1