mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 16:46:35 +01:00
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
2 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue