summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2003-02-14 16:09:30 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2003-02-14 16:09:30 +0000
commit94450bc88b13fafafdea52ac188d0f5087845231 (patch)
tree26d9719a3e9815bfc149e4847ba8d4b1b0daca49
parentbc5296e032f5fee1d14bb3e2dac4ba290a212650 (diff)
downloadmailutils-94450bc88b13fafafdea52ac188d0f5087845231.tar.gz
mailutils-94450bc88b13fafafdea52ac188d0f5087845231.tar.bz2
(undelete0): Set cursor if it is zero.
-rw-r--r--mail/undelete.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/undelete.c b/mail/undelete.c
index 2782eb482..b4b6cff86 100644
--- a/mail/undelete.c
+++ b/mail/undelete.c
@@ -28,6 +28,8 @@ undelete0 (msgset_t *mspec, message_t msg, void *data)
message_get_attribute (msg, &attr);
attribute_unset_deleted (attr);
+ if (cursor == 0)
+ cursor = mspec->msg_part[0];
return 0;
}

Return to:

Send suggestions and report system problems to the System administrator.