• Patch: Elm ME+ 2.5 PLalpha53 -> Elm ME+ 2.5 PLalpha54 [2/2] (5/5)

    From Kari Hurtta@21:1/5 to All on Sat May 1 19:23:25 2021
    [continued from previous message]

    ! "metapager: flags %d%s, current %d/%d, have_index=%d",
    metapager_flags,
    do_headers ? " (parse headers)" : "",
    ! current,message_count,have_index));
    ! switch (have_index) {
    ! case prompt_quit_pager: DPRINT(Debug,9, (&Debug, " prompt_quit_pager")); break;
    ! case prompt_return_index: DPRINT(Debug,9, (&Debug, " prompt_return_index")); break;
    ! case prompt_quit_or_return_index: DPRINT(Debug,9, (&Debug, " prompt_quit_or_return_index"));
    ! break;
    ! }
    ! DPRINT(Debug,9, (&Debug, "\n"));
    !
    menu_get_sizes(pager_page->root,&LINES, &COLUMNS);

    /* check to see if we want the internal pager */
    ***************
    *** 839,845 ****
    elm_filter,
    !(hdr -> status & NOHDRENCODING),
    hdr->header_charset,
    ! have_title
    );

    set_out_state_filter(buffer,NULL); /* End HACK */
    --- 850,861 ----
    elm_filter,
    !(hdr -> status & NOHDRENCODING),
    hdr->header_charset,
    ! have_title,
    !
    ! /* Assumes that hdr->subject is not converted
    ! to another charset */
    ! use_ct_cs_for_subj_hack && hdr->subject ?
    ! get_string_type(hdr->subject) : NULL
    );

    set_out_state_filter(buffer,NULL); /* End HACK */
    ***************
    *** 870,876 ****
    ch = PressAnyKeyToContinue();
    clear_error();

    ! return ch;
    }

    if (!builtin)
    --- 886,892 ----
    ch = PressAnyKeyToContinue();
    clear_error();

    ! goto out;
    }

    if (!builtin)
    ***************
    *** 883,896 ****
    ch = builtinplusplus (bout, pager_page, 0, pager_cmds,
    have_index);
    free_stringbuffer(&bout);
    - return (ch);
    - }
    -
    - /** The rest of the code is for an external pager. **/

    ! {
    ! struct menu_context *cpage;

    cpage = Raw(OFF); /* Raw(OFF) must do in parent....
    * Or otherwi