diff src/modplug/modplugbmp.cxx @ 83:74b4ffde8100 trunk

[svn] The same change like for the FT8 MODs, but this time for FT6 MODs. (Sorry, I forget to move them as well.)
author js
date Wed, 04 Oct 2006 18:24:55 -0700
parents db47d5ac8f43
children 7ce296248b5c
line wrap: on
line diff
--- a/src/modplug/modplugbmp.cxx	Wed Oct 04 18:21:08 2006 -0700
+++ b/src/modplug/modplugbmp.cxx	Wed Oct 04 18:24:55 2006 -0700
@@ -135,6 +135,10 @@
 	}
 	vfs_fseek(file, 1080, SEEK_SET);
 	vfs_fread(magic, 1, 4, file);
+	if (!memcmp(magic, MOD_MAGIC_FASTTRACKER6, 4)) {
+		vfs_fclose(file);
+		return 1;
+	}
 	if (!memcmp(magic, MOD_MAGIC_FASTTRACKER8, 4)) {
 		vfs_fclose(file);
 		return 1;
@@ -172,10 +176,6 @@
 		vfs_fclose(file);
 		return 1;
 	}
-	if (!memcmp(magic, MOD_MAGIC_FASTTRACKER6, 4)) {
-		vfs_fclose(file);
-		return 1;
-	}
 	if (!memcmp(magic, MOD_MAGIC_OKTALYZER8, 4)) {
 		vfs_fclose(file);
 		return 1;