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:
parent
b377bc44c2
commit
f075981330
@ -241,6 +241,7 @@ ARDOUR::init (bool use_windows_vst, bool try_optimization, const char* localedir
|
|||||||
|
|
||||||
#ifdef ENABLE_NLS
|
#ifdef ENABLE_NLS
|
||||||
(void) bindtextdomain(PACKAGE, localedir);
|
(void) bindtextdomain(PACKAGE, localedir);
|
||||||
|
(void) bind_textdomain_codeset (PACKAGE, "UTF-8");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
SessionEvent::init_event_pool ();
|
SessionEvent::init_event_pool ();
|
||||||
|
@ -42,6 +42,7 @@ Gtkmm2ext::init (const char* localedir)
|
|||||||
{
|
{
|
||||||
#ifdef ENABLE_NLS
|
#ifdef ENABLE_NLS
|
||||||
(void) bindtextdomain(PACKAGE, localedir);
|
(void) bindtextdomain(PACKAGE, localedir);
|
||||||
|
(void) bind_textdomain_codeset (PACKAGE, "UTF-8");
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user