util/StringAPI: use StringCompare() in StringIsEqual()

This commit is contained in:
Max Kellermann 2018-08-20 15:31:09 +02:00
parent 94b1025780
commit 75c836fbd9
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}
/**

View File

@ -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;
}
/**