git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@83 e385b8ad-14ed-0310-8656-cc95a2468c6d
authorak1 <ak1@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Wed, 23 Feb 2005 19:55:49 +0000 (19:55 +0000)
committerak1 <ak1@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Wed, 23 Feb 2005 19:55:49 +0000 (19:55 +0000)
ChangeLog.mutt-ng
sidebar.c

index 5a089e4..4116dc7 100644 (file)
@@ -2,8 +2,8 @@ Changes specific to mutt-ng:
 
 2005-02-23:
   * Integrated assume_charset patch from http://www.emaillab.org/mutt/download15.html.en
 
 2005-02-23:
   * Integrated assume_charset patch from http://www.emaillab.org/mutt/download15.html.en
-  * Integrated patch bei Rocco Rutte to correct minor bugs
-  * fixed pager line at the bottom in the sidebar
+  * Integrated patch by Rocco Rutte to correct minor bugs
+  * Fixed huge multibyte handling fuckup (was I drunk?!)
 
 2005-02-22:
   * Merged mutt changes
 
 2005-02-22:
   * Merged mutt changes
index 23abab9..e1bec5d 100644 (file)
--- a/sidebar.c
+++ b/sidebar.c
@@ -208,7 +208,7 @@ int draw_sidebar(int menu) {
 
        /* draw the divider */
 
 
        /* draw the divider */
 
-       for ( ; lines < LINES-2-(menu != MENU_PAGER); lines++ ) {
+       for ( ; lines < LINES-1-(menu != MENU_PAGER); lines++ ) {
                move(lines, SidebarWidth - 1);
                addch('|');
  #ifndef USE_SLANG_CURSES
                move(lines, SidebarWidth - 1);
                addch('|');
  #ifndef USE_SLANG_CURSES
@@ -249,7 +249,7 @@ int draw_sidebar(int menu) {
                lines++;
        }
        SETCOLOR(MT_COLOR_NORMAL);
                lines++;
        }
        SETCOLOR(MT_COLOR_NORMAL);
-       for ( ; lines < LINES - 2 - (menu != MENU_PAGER); lines++ ) {
+       for ( ; lines < LINES - 1 - (menu != MENU_PAGER); lines++ ) {
                int i = 0;
                move( lines, 0 );
                for ( ; i < SidebarWidth - 1; i++ )
                int i = 0;
                move( lines, 0 );
                for ( ; i < SidebarWidth - 1; i++ )