diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2012-10-18 14:30:45 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2012-10-18 14:30:45 -0700 |
commit | 834825f4061b1d74f6925233cdf9d1be1fdcc8f7 (patch) | |
tree | f68942e383dc44432be1115c29abe997f271f3a9 /main.c | |
parent | c78bf189985b89941aab1861145b99f7f61c2013 (diff) | |
download | subsurface-834825f4061b1d74f6925233cdf9d1be1fdcc8f7.tar.gz |
Find translation files on Linux after Subsurface was installed
So far we only looked in the a local subdirectory, but once Subsurface has
been installed, we don't need to change the search path for translation
files anymore.
Fixes #2
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -230,7 +230,7 @@ int main(int argc, char **argv) /* set up l18n - the search directory needs to change * so that it uses the correct system directory when * subsurface isn't run from the local directory */ - path = subsurface_gettext_domainpath(); + path = subsurface_gettext_domainpath(argv[0]); setlocale( LC_ALL, "" ); bindtextdomain("subsurface", path); bind_textdomain_codeset("subsurface", "utf-8"); |