mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +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
|
||||
|
||||
#ifdef ENABLE_NLS
|
||||
/* initialize C and C++ locales to user preference */
|
||||
setlocale (LC_ALL, "");
|
||||
std::locale::global (std::locale (setlocale (LC_ALL, 0)));
|
||||
#endif
|
||||
|
||||
console_madness_begin();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue