From c3bf9ee0d426e54fe3923d8659011dfa1996ab9d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Adam=20Go=C5=82=C4=99biowski?= Date: Mon, 26 Nov 2018 21:36:52 +0100 Subject: [PATCH] - updated to 1.11.0 --- mutt-bj.status-time.patch | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/mutt-bj.status-time.patch b/mutt-bj.status-time.patch index 2469ccd..eec2758 100644 --- a/mutt-bj.status-time.patch +++ b/mutt-bj.status-time.patch @@ -2,14 +2,14 @@ diff -dur -x '*~' -x '*.orig' mutt-1.5.10.orig/curs_main.c mutt-1.5.10/curs_main --- mutt-1.5.20.b/curs_main.c 2009-07-14 12:34:25.000000000 +0200 +++ mutt-1.5.20/curs_main.c 2009-07-14 12:42:41.000000000 +0200 @@ -556,7 +556,7 @@ - menu_redraw_current (menu); - } + menu_redraw_current (menu); + } -- if (menu->redraw & REDRAW_STATUS) -+ if ((menu->redraw & REDRAW_STATUS) || update_status_time ()) - { - menu_status_line (buf, sizeof (buf), menu, NONULL (Status)); - CLEARLINE (option (OPTSTATUSONTOP) ? 0 : LINES-2); +- if (menu->redraw & REDRAW_STATUS) ++ if (menu->redraw & REDRAW_STATUS || update_status_time ()) + { + menu_status_line (buf, sizeof (buf), menu, NONULL (Status)); + mutt_window_move (MuttStatusWindow, 0, 0); --- mutt-1.5.18/globals.h.orig 2008-01-30 05:26:50.000000000 +0100 +++ mutt-1.5.18/globals.h 2008-07-25 17:41:02.532746787 +0200 @@ -200,6 +200,7 @@ @@ -90,14 +90,14 @@ diff -dur -x '*~' -x '*.orig' mutt-1.5.10.orig/pager.c mutt-1.5.10/pager.c --- mutt-1.5.10.orig/pager.c 2005-08-11 21:37:02.000000000 +0200 +++ mutt-1.5.10/pager.c 2005-10-07 09:28:24.000000000 +0200 @@ -1763,7 +1763,7 @@ - SETCOLOR (MT_COLOR_NORMAL); } + } -- if ((redraw & REDRAW_INDEX) && index) -+ if (index && ((redraw & REDRAW_INDEX) || update_status_time ())) - { - /* redraw the pager_index indicator, because the - * flags for this message might have changed. */ +- if ((pager_menu->redraw & REDRAW_INDEX) && rd->index) ++ if ((p (ager_menu->redraw & REDRAW_INDEX) || update_status_time()) && rd->index) + { + /* redraw the pager_index indicator, because the + * flags for this message might have changed. */ diff -dur -x '*~' -x '*.orig' mutt-1.5.10.orig/status.c mutt-1.5.10/status.c --- mutt-1.5.10.orig/status.c 2005-10-07 09:28:10.000000000 +0200 +++ mutt-1.5.10/status.c 2005-10-07 09:28:24.000000000 +0200 -- 2.43.0