summaryrefslogtreecommitdiff
path: root/chinese/wenju/files/patch-tests::wenju.c
blob: edaf845c0b8d4af497e27cdf9f4bab698572d914 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- tests/wenju.c.orig	Sat Oct 18 05:17:33 2003
+++ tests/wenju.c	Sat Oct 18 05:17:44 2003
@@ -23,8 +23,8 @@
 
 int main(int argc, char *argv[])
 {
-    setlocale(LC_ALL, "");
 #ifdef ENABLE_NLS
+    setlocale(LC_ALL, "");
     bindtextdomain(PACKAGE, LOCALEDIR);
 #ifdef HAVE_BIND_TEXTDOMAIN_CODESET
     bind_textdomain_codeset(PACKAGE, "UTF-8");