projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Simplifications.
[apps/madmutt.git]
/
crypt.cpkg
diff --git
a/crypt.cpkg
b/crypt.cpkg
index
c6b2c2d
..
7047775
100644
(file)
--- a/
crypt.cpkg
+++ b/
crypt.cpkg
@@
-16,7
+16,7
@@
#include <gpgme.h>
#include <lib-mime/mime.h>
#include <gpgme.h>
#include <lib-mime/mime.h>
-#include <lib-ui/
curses
.h>
+#include <lib-ui/
lib-ui
.h>
#include <lib-ui/enter.h>
#include <lib-ui/menu.h>
#include <lib-mx/mx.h>
#include <lib-ui/enter.h>
#include <lib-ui/menu.h>
#include <lib-mx/mx.h>
@@
-1217,7
+1217,6
@@
static int crypt_verify_one(BODY *sigbdy, STATE *s, FILE *fp, int is_smime)
state_attach_puts (_("[-- Begin signature information --]\n"), s);
err = gpgme_op_verify (ctx, signature, message, NULL);
state_attach_puts (_("[-- Begin signature information --]\n"), s);
err = gpgme_op_verify (ctx, signature, message, NULL);
- mutt_need_hard_redraw ();
if (err) {
char buf[200];
if (err) {
char buf[200];
@@
-2269,8
+2268,8
@@
static void crypt_entry (char *s, ssize_t l, MUTTMENU * menu, int num)
entry.key = cryptkey_table[num];
entry.num = num + 1;
entry.key = cryptkey_table[num];
entry.num = num + 1;
- m_strformat(s, l,
COLS - SW, mod_crypt.pgp_entry_format, crypt_entry_fm
t,
- &entry, 0);
+ m_strformat(s, l,
getmaxx(main_w), mod_crypt.pgp_entry_forma
t,
+
crypt_entry_fmt,
&entry, 0);
}
/* Compare two addresses and the keyid to be used for sorting. */
}
/* Compare two addresses and the keyid to be used for sorting. */