diff options
Diffstat (limited to 'tools/mpicalc.c')
-rw-r--r-- | tools/mpicalc.c | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/tools/mpicalc.c b/tools/mpicalc.c index 2817c9932..e582ff609 100644 --- a/tools/mpicalc.c +++ b/tools/mpicalc.c @@ -65,15 +65,15 @@ strusage( int level ) static void i18n_init(void) { - #ifdef ENABLE_NLS - #ifdef HAVE_LC_MESSAGES - setlocale( LC_MESSAGES, "" ); - #else - setlocale( LC_ALL, "" ); - #endif - bindtextdomain( PACKAGE, G10_LOCALEDIR ); - textdomain( PACKAGE ); - #endif +#ifdef ENABLE_NLS +#ifdef HAVE_LC_MESSAGES + setlocale( LC_MESSAGES, "" ); +#else + setlocale( LC_ALL, "" ); +#endif + bindtextdomain( PACKAGE, G10_LOCALEDIR ); + textdomain( PACKAGE ); +#endif } @@ -386,5 +386,3 @@ main(int argc, char **argv) mpi_free(stack[i]); return 0; } - - |