projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More string and buffer functions.
[apps/madmutt.git]
/
lib-ui
/
hdrline.c
diff --git
a/lib-ui/hdrline.c
b/lib-ui/hdrline.c
index
30b43df
..
5bbff4a
100644
(file)
--- a/
lib-ui/hdrline.c
+++ b/
lib-ui/hdrline.c
@@
-7,10
+7,9
@@
* please see the file GPL in the top level source directory.
*/
* please see the file GPL in the top level source directory.
*/
-#include <lib-
lib/lib-lib
.h>
+#include <lib-
ui/lib-ui
.h>
#include <lib-mime/mime.h>
#include <lib-mime/mime.h>
-#include <lib-ui/curses.h>
#include <lib-mx/mx.h>
#include "mutt.h"
#include <lib-mx/mx.h>
#include "mutt.h"
@@
-405,13
+404,6
@@
hdr_format_str(char *dest, ssize_t destlen,
optional = 0;
break;
optional = 0;
break;
-#ifdef USE_NNTP
- case 'g':
- mutt_format_s (dest, destlen, prefix,
- hdr->env->newsgroups ? hdr->env->newsgroups : "");
- break;
-#endif
-
case 'H':
/* (Hormel) spam score */
if (optional)
case 'H':
/* (Hormel) spam score */
if (optional)
@@
-756,5
+748,5
@@
_mutt_make_string (char *dest, ssize_t destlen, const char *s, CONTEXT * ctx,
hfi.hdr = hdr;
hfi.ctx = ctx;
hfi.hdr = hdr;
hfi.ctx = ctx;
- m_strformat(dest, destlen,
COLS - SW
, s, hdr_format_str, &hfi, flags);
+ m_strformat(dest, destlen,
getmaxx(main_w)
, s, hdr_format_str, &hfi, flags);
}
}