fix comment
[ardour.git] / gtk2_ardour / editor_ops.cc
index e1daeca75c75dc6e20b20b991c2503e5b4abef6e..42d63ccc2d9166fe1845b2b7ff552fef36b1379e 100644 (file)
@@ -2100,7 +2100,7 @@ Editor::transition_to_rolling (bool fwd)
 
        if (_session->config.get_external_sync()) {
                switch (Config->get_sync_source()) {
-               case JACK:
+               case Engine:
                        break;
                default:
                        /* transport controlled by the master */
@@ -5520,7 +5520,7 @@ Editor::split_region ()
 
 struct EditorOrderRouteSorter {
     bool operator() (boost::shared_ptr<Route> a, boost::shared_ptr<Route> b) {
-           return a->order_key (EditorSort) < b->order_key (EditorSort);
+           return a->order_key () < b->order_key ();
     }
 };