Changeset 5138:274b7ebd150f for browser.c
- Timestamp:
- 2007-04-15 14:54:07 (20 months ago)
- 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
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
browser.c
r5136 r5138 142 142 143 143 static const char * 144 folder_format_str (char *dest, size_t destlen, char op, const char *src,144 folder_format_str (char *dest, size_t destlen, size_t col, char op, const char *src, 145 145 const char *fmt, const char *ifstring, const char *elsestring, 146 146 unsigned long data, format_flag flags) … … 301 301 302 302 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); 304 304 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); 306 306 307 307 return (src); … … 484 484 folder.num = num; 485 485 486 mutt_FormatString (s, slen, NONULL(FolderFormat), folder_format_str,486 mutt_FormatString (s, slen, 0, NONULL(FolderFormat), folder_format_str, 487 487 (unsigned long) &folder, M_FORMAT_ARROWCURSOR); 488 488 } -
browser.c
r5137 r5138 621 621 browser_sort (&state); 622 622 } 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 } 624 632 } 625 633
