• Vincent Lefevre's avatar
    Bug fix: reset ctx->vsize in update_index_unthreaded on reopened mailbox. · 9a314f02
    Vincent Lefevre authored
    This fixes a bug observed when doing the following:
    1. Start Mutt on some mailbox.
    2. Limit the view.
    3. Set sort by date (thus unthreaded).
    4. Set $status_format to display the size of the messages shown (%L).
    5. Copy a message matching the limit pattern to this mailbox.
    6. With another Mutt instance, remove this message from this mailbox.
    7. Move the cursor to update the view.
    Result: one was getting a value equal to twice the initial size.
    9a314f02
curs_main.c 60.9 KB