add LocaleGuards to 2 places where we save pane sizes (which are floating point values now)

This commit is contained in:
Paul Davis 2016-06-02 08:04:08 -04:00
parent a047d814f6
commit 79a9be434c
2 changed files with 2 additions and 0 deletions

View file

@ -2579,6 +2579,7 @@ Editor::get_state ()
{
XMLNode* node = new XMLNode (X_("Editor"));
char buf[32];
LocaleGuard lg;
id().print (buf, sizeof (buf));
node->add_property ("id", buf);

View file

@ -1924,6 +1924,7 @@ Mixer_UI::get_state ()
{
XMLNode* node = new XMLNode (X_("Mixer"));
char buf[128];
LocaleGuard lg;
node->add_child_nocopy (Tabbable::get_state());