Changeset 5136:021f494d5154

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

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

Files:
2 modified

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r5134 r5136  
    1 2007-04-13 09:21 -0700  Brendan Cully  <brendan@kublai.com>  (2c91477cac28) 
     12007-04-13 09:46 -0700  Brendan Cully  <brendan@kublai.com>  (fad24cd7ba8f) 
     2 
     3        * doc/Makefile.am: Allow elinks for building manual.txt (closes #2876) 
     4 
     5        * sendlib.c: Even simpler header wrapping fix 
    26 
    37        * sendlib.c: Fix header wrapping 
  • 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