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:53:15 +1000
commitcdf3a00d1a5317294180b30b7fb73e2b749c78e5 (patch)
tree6e5fe8c407b84c22b0e289578bd943bcebbdf125 /libs/ptformat/ptfformat.h
parenteb3cbd720911a5d490d46305d7b9253066b4b54c (diff)
Fix to PT5 format, (stereo tracks still not fully supported)pt5fix
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);
}