summary refs log tree commit diff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/common.c4
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