Show
Ignore:
Timestamp:
2008-07-02 02:19:14 (5 months ago)
Author:
Rocco Rutte <pdmef@…>
Branch:
HEAD
Message:

Use realpath() in mutt_pretty_mailbox() for paths that may need it.
This requires to add the buffer size as parameter since the result may
be longer than the original but still fit in the buffer. Closes #2948.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • commands.c

    r5422 r5443  
    759759  } 
    760760 
    761   mutt_pretty_mailbox (buf); 
     761  mutt_pretty_mailbox (buf, sizeof (buf)); 
    762762  if (mutt_enter_fname (prompt, buf, sizeof (buf), redraw, 0) == -1) 
    763763    return (-1);