From a3f67071c1a1fcf0501191f1439be1ce20362d3b Mon Sep 17 00:00:00 2001 From: Jon Lund Steffensen Date: Wed, 10 Feb 2010 21:58:06 +0100 Subject: redshift.c: Use LOCALEDIR define. --- src/redshift.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 */ -- cgit v1.2.3-70-g09d2