Help needed to rework sidebarpatch
Hi all,
there are so many changes applied to muttlib.c. I want to patch the
latest hg with the sidebarpatch and the only hunk which doesn't
apply is:
Index: mutt-1.5.16+hg20070905/muttlib.c
===================================================================
--- mutt-1.5.16+hg20070905.orig/muttlib.c 2007-09-06 09:47:59.000000000
+0200
+++ mutt-1.5.16+hg20070905/muttlib.c 2007-09-06 09:47:59.000000000 +0200
@@ -1202,7 +1202,10 @@
ch = *src++; /* pad char */
/* calculate space left on line. if we've already written more data
than will fit on the line, ignore the rest of the line */
- count = (COLS < destlen ? COLS : destlen);
+ if ( DrawFullLine )
+ count = (COLS < destlen ? COLS : destlen);
+ else
+ count = ((COLS-SidebarWidth) < destlen ? COLS - SidebarWidth :
destlen);
if (count > col)
{
muttlib.c is totally different to the 20070905-version in that area so that I
don't have an idea to accomplish the related patch.
Could one, maybe Rocco ;), help me?
Thanks in advance
Elimar
--
"Talking much about oneself can also
be a means to conceal oneself."
-Friedrich Nietzsche