diff options
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -136,6 +136,12 @@ int CompareString(const char *a, const char *b) } +int CompareChar(char a, char b) +{ + return tolower((unsigned char)a) == tolower((unsigned char)b); +} + + int CompareStart(const char *a, const char *b) { while(*a && *b) |