Changeset 5137:0c47f7b06158 for smime.c

Show
Ignore:
Timestamp:
2007-04-11 22:36:24 (21 months ago)
Author:
Michael Elkins <me@…>
Branch:
HEAD
Message:

Pass column value recursively when expanding format strings (bug #2840).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • smime.c

    r4490 r5137  
    129129static const char *_mutt_fmt_smime_command (char *dest, 
    130130                                            size_t destlen, 
     131                                            size_t col, 
    131132                                            char op, 
    132133                                            const char *src, 
     
    243244 
    244245  if (optional) 
    245     mutt_FormatString (dest, destlen, ifstring, _mutt_fmt_smime_command, 
     246    mutt_FormatString (dest, destlen, col, ifstring, _mutt_fmt_smime_command, 
    246247                       data, 0); 
    247248  else if (flags & M_FORMAT_OPTIONAL) 
    248     mutt_FormatString (dest, destlen, elsestring, _mutt_fmt_smime_command, 
     249    mutt_FormatString (dest, destlen, col, elsestring, _mutt_fmt_smime_command, 
    249250                       data, 0); 
    250251 
     
    257258                                struct smime_command_context *cctx, const char *fmt) 
    258259{ 
    259   mutt_FormatString (d, dlen, NONULL(fmt), _mutt_fmt_smime_command, 
     260  mutt_FormatString (d, dlen, 0, NONULL(fmt), _mutt_fmt_smime_command, 
    260261                    (unsigned long) cctx, 0); 
    261262  dprint (2,(debugfile, "mutt_smime_command: %s\n", d));