util/StringAPI: use StringCompare() in StringIsEqual()
This commit is contained in:
parent
94b1025780
commit
75c836fbd9
@ -141,7 +141,7 @@ gcc_pure gcc_nonnull_all
|
||||
static inline bool
|
||||
StringIsEqual(const char *a, const char *b) noexcept
|
||||
{
|
||||
return strcmp(a, b) == 0;
|
||||
return StringCompare(a, b) == 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -137,7 +137,7 @@ gcc_pure gcc_nonnull_all
|
||||
static inline bool
|
||||
StringIsEqual(const wchar_t *str1, const wchar_t *str2) noexcept
|
||||
{
|
||||
return wcscmp(str1, str2) == 0;
|
||||
return StringCompare(str1, str2) == 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user