summaryrefslogtreecommitdiff
path: root/src/xkbmisc.c
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-03-25 23:15:58 +0000
committerDaniel Stone <daniel@fooishbar.org>2006-03-25 23:15:58 +0000
commite61dfbf6c72369f83a833d3a5a04c306a6b289f8 (patch)
tree3f196d389d16c446ab8ea58cd9234c1b8b6fed30 /src/xkbmisc.c
parent4b0ad25354d5807fc9e77fda3397ee78332502c1 (diff)
Bug #3819: Change open-coded _XkbStrCaseCmp to strcmp + tolower.
Diffstat (limited to 'src/xkbmisc.c')
-rw-r--r--src/xkbmisc.c28
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,