From 9c0646f404d5ff2cbda0e967ba5e0b59ff5de6ab Mon Sep 17 00:00:00 2001 From: zlago Date: Mon, 2 Sep 2024 11:54:08 +0200 Subject: docs --- src/common/common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/common/common.c') 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 -- cgit 1.4.1-2-gfad0