diff options
author | Robin Gareus <robin@gareus.org> | 2016-05-07 12:19:41 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-05-07 12:19:41 +0200 |
commit | 6d343ba3c607f5210ae03edb17ba51d662c7f79b (patch) | |
tree | ec66246b2859834c98fb7673b4f5c4dd7e95f8a0 /libs/ardour/session_state.cc | |
parent | f445ba8bdcc74943926817a8627741d1fc8dcb3f (diff) |
fix LocaleGuard contstructor (3dc77280)
Diffstat (limited to 'libs/ardour/session_state.cc')
-rw-r--r-- | libs/ardour/session_state.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc index ca94008f28..adffb5cbee 100644 --- a/libs/ardour/session_state.cc +++ b/libs/ardour/session_state.cc @@ -759,6 +759,8 @@ Session::remove_state (string snapshot_name) int Session::save_state (string snapshot_name, bool pending, bool switch_to_snapshot, bool template_only) { + DEBUG_TRACE (DEBUG::Locale, string_compose ("Session::save_state locale '%1'\n", setlocale (LC_NUMERIC, NULL))); + XMLTree tree; std::string xml_path(_session_dir->root_path()); @@ -1002,7 +1004,7 @@ Session::load_state (string snapshot_name) int Session::load_options (const XMLNode& node) { - LocaleGuard lg (); + LocaleGuard lg; config.set_variables (node); return 0; } |