Changeset 2270:75bad12a517b for attach.c

Show
Ignore:
Timestamp:
2001-02-08 07:50:51 (8 years ago)
Author:
Thomas Roessler <roessler@…>
Branch:
HEAD
Message:

Replace various instances of endwin() by mutt_endwin(). This should
help to avoid chaotic screen output on the "second" screen.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • attach.c

    r2250 r2270  
    127127        int r; 
    128128 
    129         endwin (); 
     129        mutt_endwin (NULL); 
    130130        if ((r = mutt_system (command)) == -1) 
    131131          mutt_error (_("Error running \"%s\"!"), command); 
     
    252252      else 
    253253      { 
    254         endwin (); 
     254        mutt_endwin (NULL); 
    255255        if (mutt_system (command) == -1) 
    256256          mutt_error (_("Error running \"%s\"!"), command); 
     
    472472     
    473473    if (!use_pager) 
    474       endwin (); 
     474      mutt_endwin (NULL); 
    475475 
    476476    if (use_pager || use_pipe) 
     
    609609    } 
    610610 
    611   endwin (); 
     611  mutt_endwin (NULL); 
    612612 
    613613  if (fp) 
     
    906906    piped = rfc1524_expand_command (a, newfile, type, command, sizeof (command)); 
    907907 
    908     endwin (); 
     908    mutt_endwin (NULL); 
    909909 
    910910    /* interactive program */ 
     
    956956      if ((ifp = fopen (newfile, "r")) != NULL) 
    957957      { 
    958         endwin (); 
     958        mutt_endwin (NULL); 
    959959        thepid = mutt_create_filter (NONULL(PrintCmd), &fpout, NULL, NULL); 
    960960        mutt_copy_stream (ifp, fpout);