[comp.windows.x] Xr11 patch 5

julie@hpcvlo.HP.COM (Julie Skeen) (12/30/87)

*** 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