diff options
author | Robin Gareus <robin@gareus.org> | 2016-05-05 21:49:56 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-05-05 21:49:56 +0200 |
commit | 3dc7728038860bda6eb4b0de1f4a3e14ec9e86cc (patch) | |
tree | 2493b59c08ff53b46d19aeb6e897a1d497680bcc /libs/pbd/locale_guard.cc | |
parent | 2624c0966b6adac66adc2eb1cf50a658f22d168c (diff) |
we always only use the "C" locale when saving.
Diffstat (limited to 'libs/pbd/locale_guard.cc')
-rw-r--r-- | libs/pbd/locale_guard.cc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/libs/pbd/locale_guard.cc b/libs/pbd/locale_guard.cc index f848cf33f8..8007ea001b 100644 --- a/libs/pbd/locale_guard.cc +++ b/libs/pbd/locale_guard.cc @@ -34,21 +34,9 @@ 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)) { /* purpose of LocaleGuard is to make sure we're using "C" for |