Commit 75c836fb authored by Max Kellermann's avatar Max Kellermann

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

parent 94b10257
......@@ -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;
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment