Show
Ignore:
Timestamp:
2007-04-15 14:54:07 (20 months ago)
Author:
Michael Elkins <me@…>
Parents:
5137:0c47f7b06158 (diff), 5136:021f494d5154 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Branch:
HEAD
Message:

merge with tip

Files:
2 modified

Legend:

Unmodified
Added
Removed
  • browser.c

    r5136 r5138  
    142142 
    143143static const char * 
    144 folder_format_str (char *dest, size_t destlen, char op, const char *src, 
     144folder_format_str (char *dest, size_t destlen, size_t col, char op, const char *src, 
    145145                   const char *fmt, const char *ifstring, const char *elsestring, 
    146146                   unsigned long data, format_flag flags) 
     
    301301 
    302302  if (optional) 
    303     mutt_FormatString (dest, destlen, ifstring, folder_format_str, data, 0); 
     303    mutt_FormatString (dest, destlen, col, ifstring, folder_format_str, data, 0); 
    304304  else if (flags & M_FORMAT_OPTIONAL) 
    305     mutt_FormatString (dest, destlen, elsestring, folder_format_str, data, 0); 
     305    mutt_FormatString (dest, destlen, col, elsestring, folder_format_str, data, 0); 
    306306 
    307307  return (src); 
     
    484484  folder.num = num; 
    485485   
    486   mutt_FormatString (s, slen, NONULL(FolderFormat), folder_format_str,  
     486  mutt_FormatString (s, slen, 0, NONULL(FolderFormat), folder_format_str,  
    487487      (unsigned long) &folder, M_FORMAT_ARROWCURSOR); 
    488488} 
  • browser.c

    r5137 r5138  
    621621      browser_sort (&state); 
    622622    } 
    623 #endif 
     623    else 
     624#endif 
     625    { 
     626      i = mutt_strlen (LastDir); 
     627      while (i && LastDir[--i] == '/') 
     628        LastDir[i] = '\0'; 
     629      if (!LastDir[0]) 
     630        getcwd (LastDir, sizeof (LastDir)); 
     631    } 
    624632  } 
    625633