From f75d151687641f7c459ac5673b0fb808c7ad9e5d Mon Sep 17 00:00:00 2001 From: dooglus Date: Tue, 1 Jan 2008 15:57:32 +0000 Subject: [PATCH] Have the command line 'synfig' tool run 'setlocale()' whether or not gettext is available. git-svn-id: http://svn.voria.com/code@1257 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-core/trunk/src/tool/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/synfig-core/trunk/src/tool/main.cpp b/synfig-core/trunk/src/tool/main.cpp index 04bf905..afda522 100644 --- a/synfig-core/trunk/src/tool/main.cpp +++ b/synfig-core/trunk/src/tool/main.cpp @@ -845,8 +845,9 @@ int main(int argc, char *argv[]) arg_list_t arg_list; job_list_t job_list; -#ifdef ENABLE_NLS setlocale(LC_ALL, ""); + +#ifdef ENABLE_NLS bindtextdomain("synfig", LOCALEDIR); textdomain("synfig"); #endif -- 2.7.4