projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
unused, drop
[apps/madmutt.git]
/
curs_main.c
diff --git
a/curs_main.c
b/curs_main.c
index
88ec80e
..
18822d4
100644
(file)
--- a/
curs_main.c
+++ b/
curs_main.c
@@
-767,7
+767,7
@@
int mutt_index_menu (void)
break;
}
break;
}
-
strfcpy (buf, ref->data, sizeof (buf)
);
+
m_strcpy(buf, sizeof(buf), ref->data
);
}
if (!Context->id_hash)
Context->id_hash = mutt_make_id_hash (Context);
}
if (!Context->id_hash)
Context->id_hash = mutt_make_id_hash (Context);
@@
-813,7
+813,7
@@
int mutt_index_menu (void)
if (!Context->id_hash)
Context->id_hash = mutt_make_id_hash (Context);
if (!Context->id_hash)
Context->id_hash = mutt_make_id_hash (Context);
-
strfcpy (buf, CURHDR->env->message_id, sizeof (buf)
);
+
m_strcpy(buf, sizeof(buf), CURHDR->env->message_id
);
if (op == OP_RECONSTRUCT_THREAD) {
LIST *ref = CURHDR->env->references;
if (op == OP_RECONSTRUCT_THREAD) {
LIST *ref = CURHDR->env->references;
@@
-822,7
+822,7
@@
int mutt_index_menu (void)
nntp_check_msgid (Context, ref->data);
/* the last msgid in References is the root message */
if (!ref->next)
nntp_check_msgid (Context, ref->data);
/* the last msgid in References is the root message */
if (!ref->next)
-
strfcpy (buf, ref->data, sizeof (buf)
);
+
m_strcpy(buf, sizeof(buf), ref->data
);
ref = ref->next;
}
}
ref = ref->next;
}
}
@@
-960,7
+960,7
@@
int mutt_index_menu (void)
set_option (OPTHIDEREAD);
}
else {
set_option (OPTHIDEREAD);
}
else {
-
strfcpy (buf, Context->pattern + 8, sizeof (buf)
);
+
m_strcpy(buf, sizeof(buf), Context->pattern + 8
);
if (!*buf || strncmp (buf, ".*", 2) == 0)
snprintf (buf, sizeof (buf), "~A");
unset_option (OPTHIDEREAD);
if (!*buf || strncmp (buf, ".*", 2) == 0)
snprintf (buf, sizeof (buf), "~A");
unset_option (OPTHIDEREAD);