blob: ead3d70553b8d4bfbd78a9768f822ee0f2ae224a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
Fix building with --disable-nls.
--- /src/cadaver.c
+++ /src/cadaver.c
@@ -838,11 +838,11 @@
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 */
|