forked from TeamTofuShop/segatools
hooklib/path.c: add slash-insensitive path comparison API
This commit is contained in:
parent
03c7954ada
commit
54cd2f6e9a
@ -273,7 +273,7 @@ static HRESULT vfs_path_hook_nthome(
|
||||
|
||||
/* Case-insensitive check to see if src starts with vfs_nthome */
|
||||
|
||||
if (_wcsnicmp(src, vfs_nthome, vfs_nthome_len) != 0) {
|
||||
if (path_compare_w(src, vfs_nthome, vfs_nthome_len) != 0) {
|
||||
return S_FALSE;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user