diff options
Diffstat (limited to 'mail/undelete.c')
-rw-r--r-- | mail/undelete.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/undelete.c b/mail/undelete.c index f944fc2bc..31419a14b 100644 --- a/mail/undelete.c +++ b/mail/undelete.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 @@ -30,7 +30,7 @@ undelete0 (msgset_t *mspec, mu_message_t msg, void *data) mu_attribute_unset_userflag (attr, MAIL_ATTRIBUTE_PRESERVED); mu_attribute_unset_userflag (attr, MAIL_ATTRIBUTE_MBOXED); util_mark_read (msg); - cond_page_invalidate (mspec->msg_part[0]); + cond_page_invalidate (msgset_msgno (mspec)); return 0; } |