13
0

Use ID::to_s() in libpbd instead of ID::print()

This commit is contained in:
Tim Mayberry 2016-08-19 21:39:38 +10:00
parent 454b2d4e69
commit 4dd0203f01

View File

@ -121,8 +121,7 @@ Controllable::get_state ()
node->add_property (X_("name"), _name);
id().print (buf, sizeof (buf));
node->add_property (X_("id"), buf);
node->add_property (X_("id"), id().to_s());
node->add_property (X_("flags"), enum_2_string (_flags));
snprintf (buf, sizeof (buf), "%2.12f", get_save_value());
node->add_property (X_("value"), buf);