clearer catastrophic error message, rather than assert()
[ardour.git] / libs / pbd / undo.cc
index d816afa28ba83bcfe83a192d81fbd21626d41555..88b3c4ead5b0b2b40f3e1eae7606a44cf45e4e9c 100644 (file)
@@ -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;