summaryrefslogtreecommitdiff
path: root/development/kicad/kicad-setlanguage.patch
diff options
context:
space:
mode:
Diffstat (limited to 'development/kicad/kicad-setlanguage.patch')
-rw-r--r--development/kicad/kicad-setlanguage.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/development/kicad/kicad-setlanguage.patch b/development/kicad/kicad-setlanguage.patch
new file mode 100644
index 0000000000..3fc33fab11
--- /dev/null
+++ b/development/kicad/kicad-setlanguage.patch
@@ -0,0 +1,11 @@
+--- kicad-bzr_20101223_orig/common/edaappl.cpp 2011-01-01 14:30:14.000000000 -0200
++++ kicad-bzr_20101223/common/edaappl.cpp 2011-01-01 14:29:33.000000000 -0200
+@@ -680,7 +680,7 @@
+ delete m_Locale;
+ m_Locale = new wxLocale;
+
+- if( !m_Locale->Init( m_LanguageId ) )
++ if( !m_Locale->Init( m_LanguageId, wxLOCALE_CONV_ENCODING ) )
+ {
+ wxLogDebug( wxT("This language is not supported by the system.") );
+