diff options
author | Jon Lund Steffensen <jonlst@gmail.com> | 2010-02-10 21:58:06 +0100 |
---|---|---|
committer | Jon Lund Steffensen <jonlst@gmail.com> | 2010-02-10 21:58:06 +0100 |
commit | a3f67071c1a1fcf0501191f1439be1ce20362d3b (patch) | |
tree | c4c8380da3ca8679f0203c9ce2ee0ddff7585948 /src/redshift.c | |
parent | gtk-redshift.py: Use 'redshift' gettext catalog (diff) | |
download | redshift-ng-a3f67071c1a1fcf0501191f1439be1ce20362d3b.tar.gz redshift-ng-a3f67071c1a1fcf0501191f1439be1ce20362d3b.tar.bz2 redshift-ng-a3f67071c1a1fcf0501191f1439be1ce20362d3b.tar.xz |
redshift.c: Use LOCALEDIR define.
Diffstat (limited to 'src/redshift.c')
-rw-r--r-- | src/redshift.c | 4 |
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 */ |