Mercurial > hg > xemacs-beta
diff src/event-xlike-inc.c @ 3439:d1754e7f0cea
[xemacs-hg @ 2006-06-03 17:50:39 by aidan]
Just-in-time Unicode code point support.
author | aidan |
---|---|
date | Sat, 03 Jun 2006 17:51:06 +0000 |
parents | a25c824ed558 |
children | 6139607b3fbf |
line wrap: on
line diff
--- a/src/event-xlike-inc.c Fri Jun 02 22:18:08 2006 +0000 +++ b/src/event-xlike-inc.c Sat Jun 03 17:51:06 2006 +0000 @@ -27,8 +27,6 @@ included here, not in event-xlike.c. However, event-xlike.c is always X-specific, whereas the following code isn't, in the GTK case. */ -EXFUN (Funicode_to_char, 2); /* In unicode.c. */ - static int #ifdef THIS_IS_GTK emacs_gtk_event_pending_p (int how_many) @@ -503,9 +501,9 @@ and only those should correspond directly to Unicode code points, in the range #x100-#x10FFFF; actual implementations can have the Latin 1 code points do the same thing with keysyms - #x010000A0-#x01000100. */ + #x01000000-#x01000100. */ - if (keysym >= 0x010000A0 && keysym <= 0x0110FFFF) + if (keysym >= 0x01000000 && keysym <= 0x0110FFFF) return Funicode_to_char (make_int(keysym & 0xffffff), Qnil); if ((keysym & 0xff) < 0xa0)