mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-17 20:26:30 +01:00
we always only use the "C" locale when saving.
This commit is contained in:
parent
2624c0966b
commit
3dc7728038
33 changed files with 60 additions and 74 deletions
|
|
@ -34,20 +34,8 @@ using namespace PBD;
|
|||
* and some plugin may change either behind our back.
|
||||
*/
|
||||
|
||||
LocaleGuard::LocaleGuard (const char*)
|
||||
: old_c (0)
|
||||
{
|
||||
init ();
|
||||
}
|
||||
|
||||
LocaleGuard::LocaleGuard ()
|
||||
: old_c (0)
|
||||
{
|
||||
init ();
|
||||
}
|
||||
|
||||
void
|
||||
LocaleGuard::init ()
|
||||
{
|
||||
char* actual = setlocale (LC_NUMERIC, NULL);
|
||||
if (strcmp ("C", actual)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue