fmt: more update to use new fmt-based APIs

This commit is contained in:
Dirk-Jan C. Binnema
2023-07-06 12:22:50 +03:00
parent 91c5a9bac5
commit 82235b9d49
8 changed files with 141 additions and 182 deletions

View File

@ -117,8 +117,7 @@ show_part(const MessagePart& part, size_t index, bool color)
/* /\* disposition *\/ */
color_maybe(MU_COLOR_MAGENTA);
print_encoded(" [%s]", part.is_attachment() ?
"attachment" : "inline");
mu_print_encoded(" [{}]", part.is_attachment() ? "attachment" : "inline");
/* size */
if (part.size() > 0) {
color_maybe(MU_COLOR_CYAN);