summaryrefslogtreecommitdiff
path: root/mail/print.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/print.c')
-rw-r--r--mail/print.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/print.c b/mail/print.c
index 714e62819..0f089c13b 100644
--- a/mail/print.c
+++ b/mail/print.c
@@ -36,7 +36,7 @@ mail_print_msg (msgset_t *mspec, mu_message_t mesg, void *data)
int status;
mu_message_lines (mesg, &lines);
- if (mailvar_get (NULL, "showenvelope", mailvar_type_boolean, 0) == 0)
+ if (mailvar_is_true ("showenvelope"))
lines++;
/* If it is POP or IMAP the lines number is not known, so try
@@ -57,7 +57,7 @@ mail_print_msg (msgset_t *mspec, mu_message_t mesg, void *data)
out = open_pager (lines);
- if (mailvar_get (NULL, "showenvelope", mailvar_type_boolean, 0) == 0)
+ if (mailvar_is_true ("showenvelope"))
print_envelope (mspec, mesg, "From");
if (*(int *) data) /* print was called with a lowercase 'p' */

Return to:

Send suggestions and report system problems to the System administrator.