diff options
Diffstat (limited to 'libs/ptformat/ptfformat.h')
-rw-r--r-- | libs/ptformat/ptfformat.h | 2 |
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); } |