changeset 2018:6d0c4b752ab0

don't set language to default after re-init
author ig0rk0
date Mon, 31 Oct 2011 19:58:23 +0000
parents f59e1368b14d
children 9e0ac1a0f9fd
files src/core/gettext.cpp
diffstat 1 files changed, 1 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/core/gettext.cpp	Mon Oct 31 19:36:51 2011 +0000
+++ b/src/core/gettext.cpp	Mon Oct 31 19:58:23 2011 +0000
@@ -95,13 +95,7 @@
 
 	textdomain ("menu");
 
-#ifdef WIN32
-	char loc[100];
-	GetLocaleInfo(LOCALE_USER_DEFAULT,
-						  LOCALE_SISO639LANGNAME,
-						  loc, sizeof(loc));
-	Gettext::setLocale(loc);
-#else
+#ifndef WIN32
 	Gettext::setLocale(locale);
 #endif