File diff r5169:0e312771ef2c → r5170:49b50acf2141
gfxinit.c
Show inline comments
 
@@ -108,13 +108,13 @@ static bool CheckMD5Digest(const MD5File
 
static bool FileMD5(const MD5File file, bool warn)
 
{
 
	FILE *f;
 
	char buf[MAX_PATH];
 

	
 
	// open file
 
	sprintf(buf, "%s%s", _path.data_dir, file.filename);
 
	snprintf(buf, lengthof(buf), "%s%s", _path.data_dir, file.filename);
 
	f = fopen(buf, "rb");
 

	
 
#if !defined(WIN32)
 
	if (f == NULL) {
 
		strtolower(buf + strlen(_path.data_dir) - 1);
 
		f = fopen(buf, "rb");