Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 579850
Collapse All | Expand All

(-)a/sidebar.c (-1 / +5 lines)
Lines 759-766 draw_sidebar (int first_row, int num_rows, int div_width) 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++;

Return to bug 579850