shithub: ft²

Download patch

ref: f225353791b646088e1119109197ad9257e696f4
parent: a3d5603fb8c05c1d1fdf242fbd806aeb8964a462
author: Olav Sørensen <olav.sorensen@live.no>
date: Mon Mar 15 15:45:01 EDT 2021

Update ft2_module_loader.c

--- a/src/ft2_module_loader.c
+++ b/src/ft2_module_loader.c
@@ -155,7 +155,7 @@
 	fread(D, 1, 2, f);
 	rewind(f);
 
-	if (D[0] >= 0 && D[0] <= 128 && D[1] <= 220)
+	if (D[0] <= 128 && D[1] <= 220)
 		return FORMAT_POSSIBLY_STK;
 
 	return FORMAT_UNKNOWN;