Commit 94450bc8 94450bc88b13fafafdea52ac188d0f5087845231 by Sergey Poznyakoff

(undelete0): Set cursor if it is zero.

1 parent bc5296e0
......@@ -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;
}
......