MCPcopy Create free account
hub / github.com/KebsCS/KBotExt / ImStricmp

Function ImStricmp

KBotExt/imgui/imgui.cpp:1727–1732  ·  view source on GitHub ↗

Consider using _stricmp/_strnicmp under Windows or strcasecmp/strncasecmp. We don't actually use either ImStricmp/ImStrnicmp in the codebase any more.

Source from the content-addressed store, hash-verified

1725
1726// Consider using _stricmp/_strnicmp under Windows or strcasecmp/strncasecmp. We don't actually use either ImStricmp/ImStrnicmp in the codebase any more.
1727int ImStricmp(const char* str1, const char* str2)
1728{
1729 int d;
1730 while ((d = ImToUpper(*str2) - ImToUpper(*str1)) == 0 && *str1) { str1++; str2++; }
1731 return d;
1732}
1733
1734int ImStrnicmp(const char* str1, const char* str2, size_t count)
1735{

Callers

nothing calls this directly

Calls 1

ImToUpperFunction · 0.85

Tested by

no test coverage detected