diff options
Diffstat (limited to 'mail/size.c')
-rw-r--r-- | mail/size.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mail/size.c b/mail/size.c index 071665fd1..d4406fb5c 100644 --- a/mail/size.c +++ b/mail/size.c @@ -1,5 +1,5 @@ /* GNU Mailutils -- a suite of utilities for electronic mail - Copyright (C) 1999-2019 Free Software Foundation, Inc. + Copyright (C) 1999-2024 Free Software Foundation, Inc. GNU Mailutils is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -29,10 +29,10 @@ size0 (msgset_t *mspec, mu_message_t msg, void *data) mu_message_lines (msg, &lines); mu_printf ("%c%2lu %3lu/%-5lu\n", - is_current_message (mspec->msg_part[0]) ? '>' : ' ', - (unsigned long) mspec->msg_part[0], - (unsigned long) lines, - (unsigned long) size); + is_current_message (msgset_msgno (mspec)) ? '>' : ' ', + (unsigned long) msgset_msgno (mspec), + (unsigned long) lines, + (unsigned long) size); return 0; } |