changeset 71241:11061a67f09a

[USE_MAC_TSM] (mac_handle_text_input_event): Exclude 0x7f from ASCII range.
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Tue, 06 Jun 2006 03:27:12 +0000
parents 0b7ea03b3bcd
children 80c0c94c0169
files src/macterm.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/macterm.c	Mon Jun 05 22:22:41 2006 +0000
+++ b/src/macterm.c	Tue Jun 06 03:27:12 2006 +0000
@@ -9569,7 +9569,7 @@
 	    if (err == noErr && code < 0x80)
 	      {
 		/* ASCII character.  Process it in XTread_socket.  */
-		if (read_socket_inev && code >= 0x20)
+		if (read_socket_inev && code >= 0x20 && code <= 0x7e)
 		  {
 		    struct frame *f = mac_focus_frame (&one_mac_display_info);