| 1732 | } |
| 1733 | |
| 1734 | int ImStrnicmp(const char* str1, const char* str2, size_t count) |
| 1735 | { |
| 1736 | int d = 0; |
| 1737 | while (count > 0 && (d = ImToUpper(*str2) - ImToUpper(*str1)) == 0 && *str1) { str1++; str2++; count--; } |
| 1738 | return d; |
| 1739 | } |
| 1740 | |
| 1741 | void ImStrncpy(char* dst, const char* src, size_t count) |
| 1742 | { |
nothing calls this directly
no test coverage detected