projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use safer p_clear when possible.
[apps/madmutt.git]
/
menu.c
diff --git
a/menu.c
b/menu.c
index
54d36dd
..
52547de
100644
(file)
--- a/
menu.c
+++ b/
menu.c
@@
-41,7
+41,7
@@
static void print_enriched_string (int attr, unsigned char *s, int do_color)
size_t n = m_strlen((char *) s);
mbstate_t mbstate;
-
memset (&mbstate, 0, sizeof (mbstate)
);
+
p_clear(&mbstate, 1
);
while (*s) {
if (*s < M_TREE_MAX) {
if (do_color)