[BACK]Return to match.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mg

Diff for /src/usr.bin/mg/match.c between version 1.15 and 1.16

version 1.15, 2008/06/14 08:46:30 version 1.16, 2009/06/04 02:23:37
Line 150 
Line 150 
   
                 curwp->w_dotp = clp;    /* move to new position */                  curwp->w_dotp = clp;    /* move to new position */
                 curwp->w_doto = cbo;                  curwp->w_doto = cbo;
                 curwp->w_flag |= WFMOVE;                  curwp->w_rflag |= WFMOVE;
   
                 update();               /* show match */                  update();               /* show match */
                 ttwait(1000);           /* wait for key or 1 second */                  ttwait(1000);           /* wait for key or 1 second */
   
                 curwp->w_dotp = tlp;    /* return to old position */                  curwp->w_dotp = tlp;    /* return to old position */
                 curwp->w_doto = tbo;                  curwp->w_doto = tbo;
                 curwp->w_flag |= WFMOVE;                  curwp->w_rflag |= WFMOVE;
                 update();                  update();
         } else {          } else {
                 /* match is not in this window, so display line in echo area */                  /* match is not in this window, so display line in echo area */

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16