From: dooglus Date: Tue, 1 Jan 2008 15:57:32 +0000 (+0000) Subject: Have the command line 'synfig' tool run 'setlocale()' whether or not gettext is avail... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=f75d151687641f7c459ac5673b0fb808c7ad9e5d;p=synfig.git 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 --- 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