summaryrefslogtreecommitdiff
path: root/src/XKBfileInt.h
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/XKBfileInt.h
parent4b0ad25354d5807fc9e77fda3397ee78332502c1 (diff)
Bug #3819: Change open-coded _XkbStrCaseCmp to strcmp + tolower.
Diffstat (limited to 'src/XKBfileInt.h')
-rw-r--r--src/XKBfileInt.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/XKBfileInt.h b/src/XKBfileInt.h
index f11c46a..a20094e 100644
--- a/src/XKBfileInt.h
+++ b/src/XKBfileInt.h
@@ -68,11 +68,7 @@ extern char * _XkbDupString(
char * /* old_str */
);
-extern int _XkbStrCaseCmp(
- char * /* str1 */,
- char * /* str2 */
-);
-#define _XkbStrCaseEqual(s1,s2) (_XkbStrCaseCmp(s1,s2)==0)
+#define _XkbStrCaseEqual(s1,s2) (strcmp(tolower(s1),tolower(s2))==0)
_XFUNCPROTOEND