projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove patchlist things, and more generated and commited things.
[apps/madmutt.git]
/
remailer.c
diff --git
a/remailer.c
b/remailer.c
index
7825407
..
8f934b4
100644
(file)
--- a/
remailer.c
+++ b/
remailer.c
@@
-16,6
+16,7
@@
#endif
#include "mutt.h"
#endif
#include "mutt.h"
+#include "recvattach.h"
#include "mutt_curses.h"
#include "mutt_menu.h"
#include "mapping.h"
#include "mutt_curses.h"
#include "mutt_menu.h"
#include "mapping.h"
@@
-35,6
+36,8
@@
#include <sys/file.h>
#include <fcntl.h>
#include <sys/file.h>
#include <fcntl.h>
+#define SW (option(OPTMBOXPANE)?SidebarWidth:0)
+
#ifdef MIXMASTER
struct coord {
#ifdef MIXMASTER
struct coord {
@@
-418,8
+421,9
@@
static const char *mix_entry_fmt (char *dest,
static void mix_entry (char *b, size_t blen, MUTTMENU * menu, int num)
{
REMAILER **type2_list = (REMAILER **) menu->data;
static void mix_entry (char *b, size_t blen, MUTTMENU * menu, int num)
{
REMAILER **type2_list = (REMAILER **) menu->data;
+ int w=(COLS-SW)>blen?blen:(COLS-SW);
- mutt_FormatString (b,
blen
, NONULL (MixEntryFormat), mix_entry_fmt,
+ mutt_FormatString (b,
w
, NONULL (MixEntryFormat), mix_entry_fmt,
(unsigned long) type2_list[num], M_FORMAT_ARROWCURSOR);
}
(unsigned long) type2_list[num], M_FORMAT_ARROWCURSOR);
}