diff options
author | zlago | 2024-09-02 11:54:08 +0200 |
---|---|---|
committer | zlago | 2024-09-02 11:54:08 +0200 |
commit | 9c0646f404d5ff2cbda0e967ba5e0b59ff5de6ab (patch) | |
tree | 182e5a3ce9f1875cd00de5470ae47c8a02608ed5 /src/common | |
parent | 6d30e75c7684817b9637a370f494040a1135b876 (diff) |
docs
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/common.c b/src/common/common.c index 508140d..3fb1c6a 100644 --- a/src/common/common.c +++ b/src/common/common.c @@ -8,9 +8,9 @@ int (*file_ext(char *file))(struct blob *, struct userdata *) { size_t len = strlen(file); #define ext(extension) memcmp(file + len - sizeof (extension) + 1, extension, sizeof (extension)) - if ((ext(".mptm") && ext(".mod") && ext(".xm") && ext(".s3m") && ext(".it")) == 0) { + if ((ext(".mptm") && ext(".mod") && ext(".MOD") && ext(".xm") && ext(".s3m") && ext(".it")) == 0) { return module_openmpt; - } else if ((ext(".mid") && ext(".midi")) == 0) { + } else if ((ext(".mid") && ext(".MID") && ext(".midi")) == 0) { return module_fluidsynth; } #undef ext |