mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
correctly initialize C++ locale as well as C locale
This commit is contained in:
parent
58657edfb3
commit
521fe586d7
1 changed files with 2 additions and 0 deletions
|
|
@ -296,7 +296,9 @@ int main (int argc, char *argv[])
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef ENABLE_NLS
|
#ifdef ENABLE_NLS
|
||||||
|
/* initialize C and C++ locales to user preference */
|
||||||
setlocale (LC_ALL, "");
|
setlocale (LC_ALL, "");
|
||||||
|
std::locale::global (std::locale (setlocale (LC_ALL, 0)));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
console_madness_begin();
|
console_madness_begin();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue