comparison src/event-Xt.c @ 48:56c54cf7c5b6 r19-16b90

Import from CVS: tag r19-16b90
author cvs
date Mon, 13 Aug 2007 08:56:04 +0200
parents ec9a17fef872
children 131b0175ea99
comparison
equal deleted inserted replaced
47:11c6df210d7f 48:56c54cf7c5b6
649 /* If it's in the "Keyboard" character set, downcase it. 649 /* If it's in the "Keyboard" character set, downcase it.
650 The case of those keysyms is too totally random for us to 650 The case of those keysyms is too totally random for us to
651 force anyone to remember them. 651 force anyone to remember them.
652 The case of the other character sets is significant, however. 652 The case of the other character sets is significant, however.
653 */ 653 */
654 if ((((unsigned int) keysym) & (~0xFF)) == ((unsigned int) 0xFF00)) 654 if ((((unsigned int) keysym) & (~0x1FF)) == ((unsigned int) 0xFE00))
655 { 655 {
656 char buf [255]; 656 char buf [255];
657 char *s1, *s2; 657 char *s1, *s2;
658 for (s1 = name, s2 = buf; *s1; s1++, s2++) { 658 for (s1 = name, s2 = buf; *s1; s1++, s2++) {
659 if (*s1 == '_') { 659 if (*s1 == '_') {