aboutsummaryrefslogblamecommitdiffstats
path: root/main/cadaver/disable-nls.patch
blob: 41e723973c72bd9c74311324e8f085f732165118 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                           
Fix building with --disable-nls.
--- a/src/cadaver.c.~1~	2007-08-22 14:17:27.000000000 +0200
+++ b/src/cadaver.c	2008-03-29 08:58:57.248793293 +0100
@@ -838,11 +838,12 @@
 
     progname = argv[0];
 
+#ifdef ENABLE_NLS
+
 #ifdef HAVE_SETLOCALE
     setlocale(LC_ALL, "");
 #endif
 
-#ifdef ENABLE_NLS
     bindtextdomain(PACKAGE_NAME, LOCALEDIR);
     textdomain(PACKAGE_NAME);
 #endif /* ENABLE_NLS */