diff src/modplug/modplugbmp.cxx @ 120:7ce296248b5c trunk

[svn] 669 is 2-byte, not 4-byte. Thanks to a report from Kevin Korb on #audacious.
author chainsaw
date Wed, 25 Oct 2006 13:41:36 -0700
parents 74b4ffde8100
children 4095ceb0440b
line wrap: on
line diff
--- a/src/modplug/modplugbmp.cxx	Wed Oct 25 00:28:43 2006 -0700
+++ b/src/modplug/modplugbmp.cxx	Wed Oct 25 13:41:36 2006 -0700
@@ -111,7 +111,7 @@
 		vfs_fclose(file);
 		return 1;
 	}
-	if (!memcmp(magic, M669_MAGIC, 4)) {
+	if (!memcmp(magic, M669_MAGIC, 2)) {
 		vfs_fclose(file);
 		return 1;
 	}