summaryrefslogtreecommitdiff
path: root/libs/ptformat/ptfformat.h
diff options
context:
space:
mode:
authorDamien Zammit <damien@zamaudio.com>2015-08-09 21:53:15 +1000
committerDamien Zammit <damien@zamaudio.com>2015-08-09 21:54:38 +1000
commitd0eac587370e61d35f5e1c93461f16ea3d3129ef (patch)
tree495ad596a2dc9c71ead14f5dcabf814fec4341f3 /libs/ptformat/ptfformat.h
parent76cb365a3df3c3a35ee7d38d0f05a2d5f12082fb (diff)
Fix to PT5 format, (stereo tracks still not fully supported)
Signed-off-by: Damien Zammit <damien@zamaudio.com>
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);
}