diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 2000-09-04 10:49:46 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 2000-09-04 10:49:46 +0000 |
commit | 643690a1274d0598ee973b272c934bb147e6cda4 (patch) | |
tree | 441d9f1613dd75bd8dc460fc2b247bd1a4246190 /browser.c | |
parent | 3b9b910c6db2443ea544613578e1a604b38b6071 (diff) |
patch-bac.imapurl-4
Diffstat (limited to 'browser.c')
-rw-r--r-- | browser.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -677,6 +677,7 @@ void _mutt_select_file (char *f, size_t flen, int buffy, else if (state.imap_browse) { int n; + ciss_url_t url; strfcpy (LastDir, state.entry[menu->current].name, sizeof (LastDir)); @@ -684,7 +685,8 @@ void _mutt_select_file (char *f, size_t flen, int buffy, n = strlen (LastDir)+1; /* special case "" needs no delimiter */ - if ((strlen (strchr (LastDir, '}')) > 0) && + url_parse_ciss (&url, state.entry[menu->current].name); + if (url.path && (state.entry[menu->current].delim != '\0') && (n < sizeof (LastDir))) { |