diff options
author | Damien Zammit <damien@zamaudio.com> | 2016-02-02 16:24:54 +1100 |
---|---|---|
committer | Damien Zammit <damien@zamaudio.com> | 2016-02-02 16:24:54 +1100 |
commit | b105065f37fa461a846b82ba87d943265e955618 (patch) | |
tree | ce32b7bb80e771304c780ffcced73a3f5ebeea2c | |
parent | 1a7db628dbf51fa75535f002f65c29b11ecb038d (diff) |
Made sorting case insensitive, for PT5 bugfix
Signed-off-by: Damien Zammit <damien@zamaudio.com>
-rw-r--r-- | ptfformat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ptfformat.h b/ptfformat.h index 621bd45..2b622a1 100644 --- a/ptfformat.h +++ b/ptfformat.h @@ -39,7 +39,7 @@ public: int64_t length; bool operator <(const struct wav& other) { - return (strcmp(this->filename.c_str(), + return (strcasecmp(this->filename.c_str(), other.filename.c_str()) < 0); } |