X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=sidebar.c;h=e1bec5df1785696fb95bca3ffd54da31f2d545e5;hp=49555d50eec05e87d0f7d99bc83030175a849e17;hb=c30879afd71ee24e706b6d8c7b7916f36407e937;hpb=46cc2f0fc3459400d3c7d4dad7a1fbb952cadd46 diff --git a/sidebar.c b/sidebar.c index 49555d5..e1bec5d 100644 --- a/sidebar.c +++ b/sidebar.c @@ -77,6 +77,36 @@ void calc_boundaries (int menu) } } +static char * shortened_hierarchy(char * box) { + int dots = 0; + char * last_dot; + int i,j; + char * new_box; + for (i=0;i