summaryrefslogtreecommitdiff
path: root/gtk2_ardour/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/main.cc')
-rw-r--r--gtk2_ardour/main.cc2
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();