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

Diff for /src/usr.bin/mg/main.c between version 1.44 and 1.45

version 1.44, 2005/10/13 20:43:17 version 1.45, 2005/11/18 20:56:53
Line 20 
Line 20 
 int              lastflag;                      /* flags, last command  */  int              lastflag;                      /* flags, last command  */
 int              curgoal;                       /* goal column          */  int              curgoal;                       /* goal column          */
 int              startrow;                      /* row to start         */  int              startrow;                      /* row to start         */
 BUFFER          *curbp;                         /* current buffer       */  struct buffer           *curbp;                         /* current buffer       */
 BUFFER          *bheadp;                        /* BUFFER list head     */  struct buffer           *bheadp;                        /* BUFFER list head     */
 MGWIN           *curwp;                         /* current window       */  struct mgwin            *curwp;                         /* current window       */
 MGWIN           *wheadp;                        /* MGWIN listhead       */  struct mgwin            *wheadp;                        /* MGWIN listhead       */
 char             pat[NPAT];                     /* pattern              */  char             pat[NPAT];                     /* pattern              */
   
 static void      edinit(PF);  static void      edinit(PF);
Line 173 
Line 173 
 static void  static void
 edinit(PF init_fcn)  edinit(PF init_fcn)
 {  {
         BUFFER  *bp;          struct buffer   *bp;
         MGWIN   *wp;          struct mgwin    *wp;
   
         bheadp = NULL;          bheadp = NULL;
         bp = bfind("*scratch*", TRUE);          /* Text buffer.          */          bp = bfind("*scratch*", TRUE);          /* Text buffer.          */

Legend:
Removed from v.1.44  
changed lines
  Added in v.1.45