Show
Ignore:
Timestamp:
2007-04-13 14:14:07 (20 months ago)
Author:
Brendan Cully <brendan@…>
Branch:
HEAD
Message:

Strip / from tail of LastDir? when copying from Maildir (closes #1885)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • browser.c

    r5104 r5136  
    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