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

Diff for /src/usr.bin/mg/echo.c between version 1.48 and 1.49

version 1.48, 2009/06/03 20:58:20 version 1.49, 2009/06/04 23:39:37
Line 472 
Line 472 
         if (cwin == TRUE) {          if (cwin == TRUE) {
                 /* blow away cpltion window */                  /* blow away cpltion window */
                 bp = bfind("*Completions*", TRUE);                  bp = bfind("*Completions*", TRUE);
                 if ((wp = popbuf(bp)) != NULL) {                  if ((wp = popbuf(bp, WEPHEM)) != NULL) {
                         curwp = wp;                          if (wp->w_flag & WEPHEM) {
                         delwind(FFRAND, 1);                                  curwp = wp;
                                   delwind(FFRAND, 1);
                           } else {
                                   killbuffer(bp);
                           }
                 }                  }
         }          }
         return (ret);          return (ret);
Line 729 
Line 733 
          * the buffer list, obviously we don't want it freed.           * the buffer list, obviously we don't want it freed.
          */           */
         free_file_list(wholelist);          free_file_list(wholelist);
         popbuftop(bp);          /* split the screen and put up the help          popbuftop(bp, WEPHEM);  /* split the screen and put up the help
                                  * buffer */                                   * buffer */
         update();               /* needed to make the new stuff actually          update();               /* needed to make the new stuff actually
                                  * appear */                                   * appear */

Legend:
Removed from v.1.48  
changed lines
  Added in v.1.49