Refactor: prefers ffStr*

This commit is contained in:
李通洲
2026-03-03 23:47:37 +08:00
parent ddc2131343
commit 766ed07999
+1 -1
View File
@@ -87,7 +87,7 @@ static uint32_t getArgumentIndex(const char* placeholderValue, uint32_t numArgs,
for (uint32_t i = 0; i < numArgs; ++i)
{
const FFformatarg* arg = &arguments[i];
if (arg->name && strcasecmp(placeholderValue, arg->name) == 0)
if (arg->name && ffStrEqualsIgnCase(placeholderValue, arg->name))
return i + 1;
}
}