summaryrefslogtreecommitdiff
path: root/libs/ptformat/ptfformat.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-08-10 05:23:32 +0200
committerRobin Gareus <robin@gareus.org>2015-08-10 05:23:32 +0200
commitadc84271ba721fdf49f4c0542e1ce3a4aca6fa2e (patch)
treeb40e9d79543ce0e9757775b078d2c92cdf94d316 /libs/ptformat/ptfformat.h
parent3a2a286f3acb81c88052a982ab6861b1e5ebe2ed (diff)
parent223a6c155e975f11a5a83bd63d9ac47fb47663aa (diff)
Merge branch 'pt5-fix' of https://github.com/zamaudio/ardour
Diffstat (limited to 'libs/ptformat/ptfformat.h')
-rw-r--r--libs/ptformat/ptfformat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ptformat/ptfformat.h b/libs/ptformat/ptfformat.h
index e8267bcf59..ff21191932 100644
--- a/libs/ptformat/ptfformat.h
+++ b/libs/ptformat/ptfformat.h
@@ -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);
}