diff options
author | Daniel Stone <daniel@fooishbar.org> | 2006-03-25 23:15:58 +0000 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2006-03-25 23:15:58 +0000 |
commit | e61dfbf6c72369f83a833d3a5a04c306a6b289f8 (patch) | |
tree | 3f196d389d16c446ab8ea58cd9234c1b8b6fed30 /src/xkbmisc.c | |
parent | 4b0ad25354d5807fc9e77fda3397ee78332502c1 (diff) |
Bug #3819: Change open-coded _XkbStrCaseCmp to strcmp + tolower.
Diffstat (limited to 'src/xkbmisc.c')
-rw-r--r-- | src/xkbmisc.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/xkbmisc.c b/src/xkbmisc.c index cca31f7..01f6174 100644 --- a/src/xkbmisc.c +++ b/src/xkbmisc.c @@ -150,34 +150,6 @@ unsigned set,rtrn; /***===================================================================***/ -int -_XkbStrCaseCmp(char *str1,char *str2) -{ - char buf1[512],buf2[512]; - char c, *s; - register int n; - - for (n=0, s = buf1; (c = *str1++); n++) { - if (isupper(c)) - c = tolower(c); - if (n>510) - break; - *s++ = c; - } - *s = '\0'; - for (n=0, s = buf2; (c = *str2++); n++) { - if (isupper(c)) - c = tolower(c); - if (n>510) - break; - *s++ = c; - } - *s = '\0'; - return (strcmp(buf1, buf2)); -} - -/***===================================================================***/ - Bool XkbLookupGroupAndLevel( XkbDescPtr xkb, int key, |