diff options
author | sleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2013-08-19 19:56:58 +0000 |
---|---|---|
committer | sleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2013-08-19 19:56:58 +0000 |
commit | 7db5af1eda421c8a603038336f70971d4170a63e (patch) | |
tree | df59b50a4766855ec060f0c9fc36a943e0579746 /navit/main.c | |
parent | c117ec6d1fdf6e0831e7b74edeacf5013da35353 (diff) | |
download | navit-7db5af1eda421c8a603038336f70971d4170a63e.tar.gz |
Fix:core:Fix warning for undeclared use of textdomain.
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5580 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/main.c')
-rw-r--r-- | navit/main.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/navit/main.c b/navit/main.c index efb1a714a..231b70f80 100644 --- a/navit/main.c +++ b/navit/main.c @@ -412,16 +412,3 @@ main_init(const char *program) } } -void -main_init_nls(void) -{ -#ifdef USE_NATIVE_LANGUAGE_SUPPORT -#ifdef FORCE_LOCALE -#define STRINGIFY2(x) #x -#define STRINGIFY(x) STRINGIFY2(x) - setlocale(LC_MESSAGES,STRINGIFY(FORCE_LOCALE)); -#endif - navit_nls_add_textdomain(PACKAGE, getenv("NAVIT_LOCALEDIR")); - textdomain(PACKAGE); -#endif -} |