blob: 71c584605c5bf3e868b36e33657ca56ac2d93911 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
From: Santiago Vila <sanvila@debian.org>
Subject: setlocale using LC_ALL, not LC_MESSAGES
Bug-Debian: http://bugs.debian.org/205692
--- a/src/indent.c
+++ b/src/indent.c
@@ -1008,8 +1008,8 @@
BOOLEAN using_stdin = false;
exit_values_ty exit_status;
-#if defined (HAVE_SETLOCALE) && defined (HAVE_LC_MESSAGES) && defined (HAVE_LCCTYPES)
- setlocale(LC_MESSAGES, "");
+#if defined (HAVE_SETLOCALE)
+ setlocale(LC_ALL, "");
#endif
bindtextdomain(PACKAGE, LOCALEDIR);
textdomain(PACKAGE);
|