More general cleanups and bugfixes.

This commit is contained in:
waltje
2017-10-13 02:44:32 -04:00
parent 97b3ca3430
commit e9bd160ad1
19 changed files with 124 additions and 130 deletions

View File

@@ -103,7 +103,7 @@ image_is_hdx(const wchar_t *s, int check_signature)
return 0;
}
memcpy(ext, ws + ((len - 4) << 1), 8);
if (wcsicmp(ext, L".HDX") == 0)
if (wcscasecmp(ext, L".HDX") == 0)
{
if (check_signature)
{