commit | 19146e91a3ceb705830b529a446609cf686de263 | [log] [tgz] |
---|---|---|
author | Nguyen Anh Quynh <aquynh@gmail.com> | Wed May 28 12:41:31 2014 +0800 |
committer | Nguyen Anh Quynh <aquynh@gmail.com> | Wed May 28 12:41:31 2014 +0800 |
tree | 2af9c8953cff37130016bb2748654ab2cb13a563 | |
parent | d69f9ded5b910af73af60013af1bef6a6c36b31c [diff] [blame] |
replace strcasecmp() with strcmp(). this also simlifies MSVC support a bit
diff --git a/utils.c b/utils.c index 2dbe2ee..cece416 100644 --- a/utils.c +++ b/utils.c
@@ -14,7 +14,7 @@ int c = 0; for(l = list; *l; c++, l++) { - if (!strcasecmp(*l, s)) + if (!strcmp(*l, s)) return c; } @@ -54,7 +54,7 @@ int i; for (i = 0; i < max; i++) { - if (!strcasecmp(map[i].name, name)) { + if (!strcmp(map[i].name, name)) { return map[i].id; } }