diff options
author | David Robillard <d@drobilla.net> | 2008-10-05 23:14:48 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-10-05 23:14:48 +0000 |
commit | 6b0d22268b85f7033eb7ddcfe9e50e21b86eec34 (patch) | |
tree | f339432b60ee666d47a3bddd59c63b8c3b27a69b /libs/ardour/automation_list.cc | |
parent | 14a40f32f696c0d2b4a51fe762c5038a52079706 (diff) |
Normalize XML property name style, preserving old session loading (on load _ will be converted to -).
Still to go: Non-consistent PBD tag names, colours.
git-svn-id: svn://localhost/ardour2/branches/3.0@3872 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/automation_list.cc')
-rw-r--r-- | libs/ardour/automation_list.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/automation_list.cc b/libs/ardour/automation_list.cc index 6e2d959628..68bbd17162 100644 --- a/libs/ardour/automation_list.cc +++ b/libs/ardour/automation_list.cc @@ -227,11 +227,11 @@ AutomationList::state (bool full) snprintf (buf, sizeof (buf), "%.12g", _default_value); root->add_property ("default", buf); snprintf (buf, sizeof (buf), "%.12g", _min_yval); - root->add_property ("min_yval", buf); + root->add_property ("min-yval", buf); snprintf (buf, sizeof (buf), "%.12g", _max_yval); - root->add_property ("max_yval", buf); + root->add_property ("max-yval", buf); snprintf (buf, sizeof (buf), "%.12g", _max_xval); - root->add_property ("max_xval", buf); + root->add_property ("max-xval", buf); root->add_property ("interpolation-style", enum_2_string (_interpolation)); |