]> git.pld-linux.org Git - packages/mutt.git/commitdiff
- Blank line on top even if no status nor help above.
authormkochano <mkochano@pld-linux.org>
Sun, 16 Apr 2000 15:07:37 +0000 (15:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mutt-blanklines.patch -> 1.2

mutt-blanklines.patch

index a75d8654a8311e732fc6b7bf2a8199fff882b3f7..6e0765d38620eb4f256121a0c10cb5f52667c48f 100644 (file)
@@ -1,6 +1,6 @@
 diff -ur mutt-1.1.11.orig/curs_main.c mutt-1.1.11/curs_main.c
---- mutt-1.1.11.orig/curs_main.c       Sun Apr 16 12:33:30 2000
-+++ mutt-1.1.11/curs_main.c    Sun Apr 16 12:43:02 2000
+--- mutt-1.1.11.orig/curs_main.c       Sun Apr 16 16:38:52 2000
++++ mutt-1.1.11/curs_main.c    Sun Apr 16 16:44:36 2000
 @@ -399,8 +399,8 @@
    
    menu = mutt_new_menu ();
@@ -14,7 +14,7 @@ diff -ur mutt-1.1.11.orig/curs_main.c mutt-1.1.11/curs_main.c
    menu->current = ci_first_message ();
 diff -ur mutt-1.1.11.orig/globals.h mutt-1.1.11/globals.h
 --- mutt-1.1.11.orig/globals.h Fri Mar  3 11:10:08 2000
-+++ mutt-1.1.11/globals.h      Sun Apr 16 12:41:08 2000
++++ mutt-1.1.11/globals.h      Sun Apr 16 16:44:36 2000
 @@ -122,6 +122,7 @@
  
  WHERE unsigned short Counter INITVAL (0);
@@ -24,8 +24,8 @@ diff -ur mutt-1.1.11.orig/globals.h mutt-1.1.11/globals.h
  WHERE short PagerContext;
  WHERE short PagerIndexLines;
 diff -ur mutt-1.1.11.orig/init.h mutt-1.1.11/init.h
---- mutt-1.1.11.orig/init.h    Sun Apr 16 12:33:30 2000
-+++ mutt-1.1.11/init.h Sun Apr 16 12:40:07 2000
+--- mutt-1.1.11.orig/init.h    Sun Apr 16 16:38:53 2000
++++ mutt-1.1.11/init.h Sun Apr 16 16:44:36 2000
 @@ -254,6 +254,12 @@
    ** notifying you of new mail.  This is independent of the setting of the
    ** ``$$beep'' variable.
@@ -41,7 +41,7 @@ diff -ur mutt-1.1.11.orig/init.h mutt-1.1.11/init.h
    ** .pp
 diff -ur mutt-1.1.11.orig/menu.c mutt-1.1.11/menu.c
 --- mutt-1.1.11.orig/menu.c    Fri Mar  3 11:10:10 2000
-+++ mutt-1.1.11/menu.c Sun Apr 16 13:39:23 2000
++++ mutt-1.1.11/menu.c Sun Apr 16 16:53:21 2000
 @@ -125,13 +125,13 @@
      SETCOLOR (MT_COLOR_STATUS);
      mvprintw (option (OPTSTATUSONTOP) ? LINES-2 : 0, 0, "%-*.*s", COLS, COLS, menu->help);
@@ -53,15 +53,16 @@ diff -ur mutt-1.1.11.orig/menu.c mutt-1.1.11/menu.c
    }
    else
    {
-     menu->offset = option (OPTSTATUSONTOP) ? 1 : 0;
+-    menu->offset = option (OPTSTATUSONTOP) ? 1 : 0;
 -    menu->pagelen = LINES - 2;
-+    menu->pagelen = LINES - 2 - BlankLines;
++    menu->offset = (option (OPTSTATUSONTOP) ? 1 : 0) + BlankLines;
++    menu->pagelen = LINES - 2 - 2*BlankLines;
    }
  
    mutt_show_error ();
 diff -ur mutt-1.1.11.orig/pager.c mutt-1.1.11/pager.c
 --- mutt-1.1.11.orig/pager.c   Fri Mar  3 11:10:11 2000
-+++ mutt-1.1.11/pager.c        Sun Apr 16 13:44:39 2000
++++ mutt-1.1.11/pager.c        Sun Apr 16 17:02:11 2000
 @@ -1510,9 +1510,9 @@
        {
        indexoffset = 0;
@@ -81,14 +82,14 @@ diff -ur mutt-1.1.11.orig/pager.c mutt-1.1.11/pager.c
 -      bodyoffset = indexoffset + (IsHeader (extra) ? indexlen : 0);
 -      bodylen = statusoffset - bodyoffset;
 +      bodyoffset = indexoffset + (IsHeader (extra) ? indexlen : 0) +
-+        (option (OPTHELP) ? BlankLines : 0);
++        BlankLines;
 +      bodylen = statusoffset - bodyoffset - BlankLines;
        }
  
        if (option (OPTHELP))
 diff -ur mutt-1.1.11.orig/patchlist.c mutt-1.1.11/patchlist.c
---- mutt-1.1.11.orig/patchlist.c       Sun Apr 16 12:33:41 2000
-+++ mutt-1.1.11/patchlist.c    Sun Apr 16 13:10:52 2000
+--- mutt-1.1.11.orig/patchlist.c       Sun Apr 16 16:38:53 2000
++++ mutt-1.1.11/patchlist.c    Sun Apr 16 16:44:36 2000
 @@ -15,7 +15,8 @@
    /* DO NOT MODIFY BEFORE THIS LINE */
  
This page took 0.086734 seconds and 4 git commands to generate.