Changeset 2412:de2b598e6462 for browser.c
Legend:
- Unmodified
- Added
- Removed
-
browser.c
r2238 r2412 908 908 #endif 909 909 { 910 /* add '/' at the end of the directory name */910 /* add '/' at the end of the directory name if not already there */ 911 911 int len=mutt_strlen(LastDir); 912 if ( sizeof (buf) > len)912 if (LastDir[len-1] != '/' && sizeof (buf) > len) 913 913 buf[len]='/'; 914 914 }
