13
0

Bug fix imported from Mixbus2 (SVN r11025)

Fix a crashing bug when trying to launch in a non-English locale (possibly only affects Windows)
This commit is contained in:
John Emmas 2014-05-10 08:35:27 +01:00
parent b377bc44c2
commit f075981330
2 changed files with 2 additions and 0 deletions

View File

@ -241,6 +241,7 @@ ARDOUR::init (bool use_windows_vst, bool try_optimization, const char* localedir
#ifdef ENABLE_NLS
(void) bindtextdomain(PACKAGE, localedir);
(void) bind_textdomain_codeset (PACKAGE, "UTF-8");
#endif
SessionEvent::init_event_pool ();

View File

@ -42,6 +42,7 @@ Gtkmm2ext::init (const char* localedir)
{
#ifdef ENABLE_NLS
(void) bindtextdomain(PACKAGE, localedir);
(void) bind_textdomain_codeset (PACKAGE, "UTF-8");
#endif
}