we always only use the "C" locale when saving.

This commit is contained in:
Robin Gareus 2016-05-05 21:49:56 +02:00
parent 2624c0966b
commit 3dc7728038
33 changed files with 60 additions and 74 deletions

View file

@ -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)) {