[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.38 and 1.39

version 1.38, 2005/04/03 02:09:28 version 1.39, 2005/04/21 19:16:21
Line 110 
Line 110 
                                 if (nfiles == 1)                                  if (nfiles == 1)
                                         splitwind(0, 1);                                          splitwind(0, 1);
   
                                 curbp = findbuffer(cp);                                  if ((curbp = findbuffer(cp)) == NULL) {
                                           vttidy();
                                           errx(1, "Can't find current buffer!");
                                   }
                                 (void)showbuffer(curbp, curwp, 0);                                  (void)showbuffer(curbp, curwp, 0);
                                 if ((status = readin(cp)) != TRUE)                                  if ((status = readin(cp)) != TRUE)
                                         killbuffer(curbp);                                          killbuffer(curbp);

Legend:
Removed from v.1.38  
changed lines
  Added in v.1.39