Fixing no ALSA builds, sequencer initialization and URLs in the manual
[terminatorX.git] / src / tX_sequencer.cc
index 3a04af7ebc1c515a6d6b1495d4f9647706bd35b3..4647823d1e0ca9ed08e495995257099f58aa9007 100644 (file)
@@ -329,6 +329,7 @@ void tX_sequencer :: load(xmlDocPtr doc, xmlNodePtr node) {
                if (cur->type == XML_ELEMENT_NODE) {
                        if (xmlStrcmp(cur->name, (xmlChar *) "event")==0) {
                                ev=new tX_event(doc, cur);
+                               max_timestamp=ev->get_timestamp();
                                song_list.push_back(ev);
                        } else {
                                tX_warning("unhandled sequencer element %s.", cur->name);