projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more simplifcations
[apps/madmutt.git]
/
query.c
diff --git
a/query.c
b/query.c
index
398f3b4
..
bcb3c13
100644
(file)
--- a/
query.c
+++ b/
query.c
@@
-167,7
+167,7
@@
static int query_search (MUTTMENU * m, regex_t * re, int n)
* a menu entry for the requested item number.
*/
#define QUERY_MIN_COLUMN_LENGHT 20 /* Must be < 70/2 */
* a menu entry for the requested item number.
*/
#define QUERY_MIN_COLUMN_LENGHT 20 /* Must be < 70/2 */
-static void query_entry (char *s, size_t slen, MUTTMENU * m, int num)
+static void query_entry (char *s, s
s
ize_t slen, MUTTMENU * m, int num)
{
ENTRY *table = (ENTRY *) m->data;
char buf2[SHORT_STRING], buf[SHORT_STRING] = "";
{
ENTRY *table = (ENTRY *) m->data;
char buf2[SHORT_STRING], buf[SHORT_STRING] = "";
@@
-401,8
+401,8
@@
static void query_menu (char *buf, size_t buflen, QUERY * results, int retbuf)
/* fall through to OP_MAIL */
case OP_MAIL:
/* fall through to OP_MAIL */
case OP_MAIL:
- msg =
mutt_new_header
();
- msg->env =
mutt_new_envelope
();
+ msg =
header_new
();
+ msg->env =
envelope_new
();
if (!menu->tagprefix) {
msg->env->to = result_to_addr (QueryTable[menu->current].data);
}
if (!menu->tagprefix) {
msg->env->to = result_to_addr (QueryTable[menu->current].data);
}