projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58657ed
)
correctly initialize C++ locale as well as C locale
author
Paul Davis
<paul@linuxaudiosystems.com>
Thu, 14 Jul 2016 15:36:40 +0000
(11:36 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Thu, 14 Jul 2016 15:37:48 +0000
(11:37 -0400)
gtk2_ardour/main.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/main.cc
b/gtk2_ardour/main.cc
index ef35ac64b493811dbc0cdba3059bfe404ae4ffdd..0fa6f53fe1542bd982d04e26784480212b3aeeae 100644
(file)
--- 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();