aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/redshift.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/redshift.c b/src/redshift.c
index c022224..ee9dae5 100644
--- a/src/redshift.c
+++ b/src/redshift.c
@@ -241,8 +241,8 @@ main(int argc, char *argv[])
#ifdef ENABLE_NLS
/* Internationalisation */
- bindtextdomain("redshift", "/usr/share/locale");
- textdomain("redshift");
+ bindtextdomain(PACKAGE, LOCALEDIR);
+ textdomain(PACKAGE);
#endif
/* Initialize to defaults */