Show
Ignore:
Timestamp:
2007-11-29 23:39:38 (12 months ago)
Author:
Rocco Rutte <pdmef@…>
Branch:
HEAD
Message:

Format status line for external and internal pager the same way to make %P work

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • commands.c

    r5220 r5321  
    5252#include <utime.h> 
    5353 
     54static const char *ExtPagerProgress = "all"; 
    5455 
    5556/* The folder the user last saved to.  Used by ci_save_message() */ 
     
    136137  else 
    137138  { 
    138     mutt_make_string (buf, sizeof (buf), NONULL(PagerFmt), Context, cur); 
     139    struct hdr_format_info hfi; 
     140    hfi.ctx = Context; 
     141    hfi.pager_progress = ExtPagerProgress; 
     142    hfi.hdr = cur; 
     143    mutt_make_string_info (buf, sizeof (buf), NONULL(PagerFmt), &hfi, M_FORMAT_MAKEPRINT); 
    139144    fputs (buf, fpout); 
    140145    fputs ("\n\n", fpout);