diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-07-14 11:36:40 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-07-14 11:37:48 -0400 |
commit | 521fe586d71e9eb125dbaf7b98730f8b398e834b (patch) | |
tree | 4951e471fcc3017b99193eb89988e340469994e3 /gtk2_ardour/main.cc | |
parent | 58657edfb3f3705366f88cd0cfec8e1d08cee97d (diff) |
correctly initialize C++ locale as well as C locale
Diffstat (limited to 'gtk2_ardour/main.cc')
-rw-r--r-- | gtk2_ardour/main.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/main.cc b/gtk2_ardour/main.cc index ef35ac64b4..0fa6f53fe1 100644 --- a/gtk2_ardour/main.cc +++ b/gtk2_ardour/main.cc @@ -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(); |