comparison src/event-Xt.c @ 138:6608ceec7cf8 r20-2b3

Import from CVS: tag r20-2b3
author cvs
date Mon, 13 Aug 2007 09:31:46 +0200
parents b980b6286996
children 538048ae2ab8
comparison
equal deleted inserted replaced
137:cae984061f40 138:6608ceec7cf8
753 /* If it's in the "Keyboard" character set, downcase it. 753 /* If it's in the "Keyboard" character set, downcase it.
754 The case of those keysyms is too totally random for us to 754 The case of those keysyms is too totally random for us to
755 force anyone to remember them. 755 force anyone to remember them.
756 The case of the other character sets is significant, however. 756 The case of the other character sets is significant, however.
757 */ 757 */
758 if ((((unsigned int) keysym) & (~0xFF)) == ((unsigned int) 0xFF00) || 758 if ((((unsigned int) keysym) & (~0x1FF)) == ((unsigned int) 0xFE00))
759 (((unsigned int) keysym) & (~0xFF)) == ((unsigned int) 0xFE00))
760 { 759 {
761 char buf [255]; 760 char buf [255];
762 char *s1, *s2; 761 char *s1, *s2;
763 for (s1 = name, s2 = buf; *s1; s1++, s2++) { 762 for (s1 = name, s2 = buf; *s1; s1++, s2++) {
764 if (*s1 == '_') { 763 if (*s1 == '_') {