summaryrefslogtreecommitdiff
path: root/mail/previous.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/previous.c')
-rw-r--r--mail/previous.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/previous.c b/mail/previous.c
index d5c87cdfc..d8e0cea0e 100644
--- a/mail/previous.c
+++ b/mail/previous.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
@@ -54,7 +54,7 @@ mail_previous (int argc, char **argv)
int rc = msgset_parse (argc, argv, MSG_NODELETED|MSG_SILENT, &list);
if (!rc)
{
- n = list->msg_part[0];
+ n = msgset_msgno (list);
msgset_free (list);
if (util_get_message (mbox, n, &msg))
return 1;

Return to:

Send suggestions and report system problems to the System administrator.