Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!ucbcad!ucbvax!hplabs!hp-pcd!hpcvlo!julie From: julie@hpcvlo.HP.COM (Julie Skeen) Newsgroups: comp.windows.x Subject: Xr11 patch 5 Message-ID: <3940068@hpcvlo.HP.COM> Date: 29 Dec 87 17:17:27 GMT Organization: Hewlett-Packard Co., Corvallis, OR, USA Lines: 38 *** Editor/TE.save Wed Dec 23 10:30:26 1987 --- Editor/TextEdit.c Wed Dec 23 10:36:34 1987 *************** *** 1370,1376 /* Exit, if event is not an ascii key event */ if (((keyCode & 0xFF00) == K_s) || (keyCode == '\010') || ! (keyCode == '\177') || (keyCode == '\377')) return (FALSE); /* See if the key falls within the printable range */ --- 1370,1376 ----- /* Exit, if event is not an ascii key event */ if (((keyCode & 0xFF00) == K_s) || (keyCode == '\010') || ! (keyCode == (UINT16)'\177') || (keyCode == (UINT16)'\377')) return (FALSE); /* See if the key falls within the printable range */ *************** *** 1577,1583 return (TRUE); } else if ((keyCode == (BS_KEY | K_s)) || (keyCode == '\010') || ! (keyCode == '\177') || (keyCode == '\377')) { /* * If not at the start of the string, then delete the --- 1577,1583 ----- return (TRUE); } else if ((keyCode == (BS_KEY | K_s)) || (keyCode == '\010') || ! (keyCode == (UINT16)'\177') || (keyCode == (UINT16)'\377')) { /* * If not at the start of the string, then delete the