Fix to PT5 format, (stereo tracks still not fully supported)
[ardour.git] / libs / ptformat / ptfformat.h
index e8267bcf59c7c439f2a3cb516801f8730cf82eff..ff21191932344ef6656ac22097f0cd6bc1ba8d9d 100644 (file)
@@ -38,7 +38,7 @@ public:
                int64_t     length;
 
                bool operator ==(const struct wav& other) {
-                       return (this->filename != std::string("") &&
+                       return (this->filename == other.filename ||
                                this->index == other.index);
                }