projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
454b2d4
)
Use ID::to_s() in libpbd instead of ID::print()
author
Tim Mayberry
<mojofunk@gmail.com>
Fri, 19 Aug 2016 11:39:38 +0000
(21:39 +1000)
committer
Tim Mayberry
<mojofunk@gmail.com>
Tue, 18 Apr 2017 21:49:58 +0000
(07:49 +1000)
libs/pbd/controllable.cc
patch
|
blob
|
history
diff --git
a/libs/pbd/controllable.cc
b/libs/pbd/controllable.cc
index a2e6265927037065db07855dbfe3021828be3d77..38554bd24abda076c3fb0484cd3562eb7576ef2a 100644
(file)
--- a/
libs/pbd/controllable.cc
+++ b/
libs/pbd/controllable.cc
@@
-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);