summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Zammit <damien@zamaudio.com>2015-08-09 15:13:41 +1000
committerDamien Zammit <damien@zamaudio.com>2015-08-09 15:13:41 +1000
commit862df2fe130ca754bb6fdb2ccf0638007c955d93 (patch)
tree6f381de4ca0adb050f0a7746f4d6de48238e3c6b
parent25ef9a2f841cf678cfc66e06bb6247555bb07ab2 (diff)
Fix to wav matching
-rw-r--r--ptfformat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ptfformat.h b/ptfformat.h
index e8267bc..ff21191 100644
--- a/ptfformat.h
+++ b/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);
}