redshift.c: Use LOCALEDIR define.

This commit is contained in:
Jon Lund Steffensen
2010-02-10 21:58:06 +01:00
parent bc79a1408e
commit a3f67071c1
+2 -2
View File
@@ -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 */