diff options
author | Jon Lund Steffensen <jonlst@gmail.com> | 2010-05-06 23:51:31 +0200 |
---|---|---|
committer | Jon Lund Steffensen <jonlst@gmail.com> | 2010-05-06 23:51:31 +0200 |
commit | fc47840a2cb01f291d16dedbcbbaf4970e0f8b94 (patch) | |
tree | 13ee8006887679aacc5e146dea1329c5ec5921b6 /src | |
parent | Disable signal support if sys/signal.h was not found. (diff) | |
download | redshift-ng-fc47840a2cb01f291d16dedbcbbaf4970e0f8b94.tar.gz redshift-ng-fc47840a2cb01f291d16dedbcbbaf4970e0f8b94.tar.bz2 redshift-ng-fc47840a2cb01f291d16dedbcbbaf4970e0f8b94.tar.xz |
Don't call setlocale if NLS was disabled.
Diffstat (limited to 'src')
-rw-r--r-- | src/redshift.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/redshift.c b/src/redshift.c index f58ef56..f95c376 100644 --- a/src/redshift.c +++ b/src/redshift.c @@ -253,11 +253,11 @@ main(int argc, char *argv[]) { int r; +#ifdef ENABLE_NLS /* Init locale */ setlocale(LC_CTYPE, ""); setlocale(LC_MESSAGES, ""); -#ifdef ENABLE_NLS /* Internationalisation */ bindtextdomain(PACKAGE, LOCALEDIR); textdomain(PACKAGE); |