HasThisSuffix matching

This commit is contained in:
Dethrace Labs 2026-01-24 08:38:06 +13:00
parent 0edee5a017
commit 1d0cfdb2fe
1 changed files with 1 additions and 1 deletions

View File

@ -2157,7 +2157,7 @@ int HasThisSuffix(char* pIdent, char* pSuffix) {
if (pIdent == NULL) {
return 0;
}
if (pIdent < pSuffix) {
if (len_ident < len_suffix) {
return 0;
}
return strcmp(pIdent + len_ident - len_suffix, pSuffix) == 0;