prepare standalone VST scanner tool.. part one
[ardour.git] / libs / ardour / port_set.cc
index 6096e356f5d69faf326977a3697a0ea54fe3ca23..c7f5e2e674e7557cc1ca7eb3ce33a38dc0ce6a3e 100644 (file)
@@ -56,7 +56,7 @@ static bool sort_ports_by_name (boost::shared_ptr<Port> a, boost::shared_ptr<Por
 
        // if some of the names don't have a number as posfix, compare as strings
 
-       if (last_digit_position_a == aname.size() or last_digit_position_b == bname.size()) {
+       if (last_digit_position_a == aname.size() || last_digit_position_b == bname.size()) {
                return aname < bname;
        }