diff options
Diffstat (limited to 'src/XKBfileInt.h')
-rw-r--r-- | src/XKBfileInt.h | 6 |
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 |