Link Here
|
759 |
if (maildir_is_prefix && option (OPTSIDEBARFOLDERINDENT)) { |
759 |
if (maildir_is_prefix && option (OPTSIDEBARFOLDERINDENT)) { |
760 |
const char *tmp_folder_name; |
760 |
const char *tmp_folder_name; |
761 |
int lastsep = 0; |
761 |
int lastsep = 0; |
|
|
762 |
size_t maxidx = 0; |
762 |
tmp_folder_name = b->path + maildirlen + 1; |
763 |
tmp_folder_name = b->path + maildirlen + 1; |
763 |
for (i = 0; i < strlen (tmp_folder_name) - 1; i++) { |
764 |
if (tmp_folder_name[0]) { |
|
|
765 |
maxidx = strlen(tmp_folder_name) - 1; |
766 |
} |
767 |
for (i = 0; i < maxidx; i++) { |
764 |
if (SidebarDelimChars && |
768 |
if (SidebarDelimChars && |
765 |
strchr (SidebarDelimChars, tmp_folder_name[i])) { |
769 |
strchr (SidebarDelimChars, tmp_folder_name[i])) { |
766 |
sidebar_folder_depth++; |
770 |
sidebar_folder_depth++; |