MCPcopy Create free account
hub / github.com/ProgerXP/Notepad2e / icase_compare

Function icase_compare

src/HLSelection.c:73–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73BOOL icase_compare(const char* a, const char* b){
74 while (*a && *b) {
75 if (*a != *b) {
76 char lA = to_lower(*a);
77 char lB = to_lower(*b);
78 if (lA != lB){
79 return FALSE;
80 }
81 }
82 a++;
83 b++;
84 }
85 // Either *a or *b is nul
86 return *a == *b;
87}
88
89int HLS_key_action ( int key , int msg )
90{

Callers

nothing calls this directly

Calls 1

to_lowerFunction · 0.85

Tested by

no test coverage detected