diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2003-02-14 16:09:30 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2003-02-14 16:09:30 +0000 |
commit | 94450bc88b13fafafdea52ac188d0f5087845231 (patch) | |
tree | 26d9719a3e9815bfc149e4847ba8d4b1b0daca49 | |
parent | bc5296e032f5fee1d14bb3e2dac4ba290a212650 (diff) | |
download | mailutils-94450bc88b13fafafdea52ac188d0f5087845231.tar.gz mailutils-94450bc88b13fafafdea52ac188d0f5087845231.tar.bz2 |
(undelete0): Set cursor if it is zero.
-rw-r--r-- | mail/undelete.c | 2 |
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; } |