From 048af97b54e7fab4da308bda7755481a0a9064aa Mon Sep 17 00:00:00 2001 From: Tim Mayberry Date: Thu, 20 Apr 2017 10:55:31 +1000 Subject: [PATCH] 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. --- libs/pbd/undo.cc | 4 ++-- 1 file 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::iterator it;