summaryrefslogtreecommitdiff
path: root/libs/pbd
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2017-04-20 10:55:31 +1000
committerTim Mayberry <mojofunk@gmail.com>2017-04-21 12:46:04 +1000
commit048af97b54e7fab4da308bda7755481a0a9064aa (patch)
treed036166db63f574a0aad76689b98d6ef4c81935c /libs/pbd
parent384478a745e55aca9aa8b8ded8c08ea900cf0849 (diff)
Use correct property names in PBD::Undo class
These have been "normalized" in XMLProperty ctor for many years, so this does not change the Session format.
Diffstat (limited to 'libs/pbd')
-rw-r--r--libs/pbd/undo.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/pbd/undo.cc b/libs/pbd/undo.cc
index d816afa28b..88b3c4ead5 100644
--- a/libs/pbd/undo.cc
+++ b/libs/pbd/undo.cc
@@ -135,8 +135,8 @@ UndoTransaction::redo ()
XMLNode &UndoTransaction::get_state()
{
XMLNode *node = new XMLNode ("UndoTransaction");
- node->set_property("tv_sec", (int64_t)_timestamp.tv_sec);
- node->set_property("tv_usec", (int64_t)_timestamp.tv_usec);
+ node->set_property("tv-sec", (int64_t)_timestamp.tv_sec);
+ node->set_property("tv-usec", (int64_t)_timestamp.tv_usec);
node->set_property("name", _name);
list<Command*>::iterator it;