Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /othersrc/dist/cdk/swindow.c between versions 1.1 and 1.3

version 1.1, 2001/01/04 19:58:40 version 1.3, 2001/01/09 18:41:54
Line 463  int injectCDKSwindow (CDKSWINDOW *swindo Line 463  int injectCDKSwindow (CDKSWINDOW *swindo
    /* Declare local variables. */     /* Declare local variables. */
    int ppReturn = 1;     int ppReturn = 1;
   
      /* Set the exit type */
      swindow->exitType = vEARLY_EXIT;
   
    /* Draw the window.... */     /* Draw the window.... */
    drawCDKSwindow (swindow, ObjOf(swindow)->box);     drawCDKSwindow (swindow, ObjOf(swindow)->box);
   
Line 479  int injectCDKSwindow (CDKSWINDOW *swindo Line 482  int injectCDKSwindow (CDKSWINDOW *swindo
       /* Check for a key binding. */        /* Check for a key binding. */
       if (checkCDKObjectBind (vSWINDOW, swindow, input) != 0)        if (checkCDKObjectBind (vSWINDOW, swindow, input) != 0)
       {        {
          swindow->exitType = vESCAPE_HIT;  
          return -1;           return -1;
       }        }
       else        else
Line 609  int injectCDKSwindow (CDKSWINDOW *swindo Line 611  int injectCDKSwindow (CDKSWINDOW *swindo
             case KEY_RETURN :              case KEY_RETURN :
             case KEY_TAB :              case KEY_TAB :
             case KEY_ENTER :              case KEY_ENTER :
               case KEY_CR :
                  swindow->exitType = vNORMAL;                   swindow->exitType = vNORMAL;
                  return 1;                   return 1;
   

Removed from v.1.1  
changed lines
  Added in v.1.3


CVSweb <webmaster@jp.NetBSD.org>