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

Diff for /src/usr.bin/mg/dired.c between version 1.35 and 1.36

version 1.35, 2005/12/20 05:04:28 version 1.36, 2006/05/02 17:10:25
Line 630 
Line 630 
                 return (NULL);                  return (NULL);
         }          }
         bp->b_dotp = lforw(bp->b_linep);        /* go to first line */          bp->b_dotp = lforw(bp->b_linep);        /* go to first line */
         (void) strlcpy(bp->b_fname, dname, sizeof(bp->b_fname));          (void)strlcpy(bp->b_fname, dname, sizeof(bp->b_fname));
           (void)strlcpy(bp->b_cwd, dname, sizeof(bp->b_cwd));
         if ((bp->b_modes[1] = name_mode("dired")) == NULL) {          if ((bp->b_modes[1] = name_mode("dired")) == NULL) {
                 bp->b_modes[0] = name_mode("fundamental");                  bp->b_modes[0] = name_mode("fundamental");
                 ewprintf("Could not find mode dired");                  ewprintf("Could not find mode dired");

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.36