lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lynx-dev Re: Japanese/LYRawMode & forms-options menu -> bug


From: Leonid Pauzner
Subject: lynx-dev Re: Japanese/LYRawMode & forms-options menu -> bug
Date: Fri, 16 Oct 1998 02:54:28 +0400 (MSD)

I wrote:

> The trace show that the correct values passed.
Sorry, this statement is wrong.

gen_options()

        int curval;
        curval = UCLYhndl_for_unspec;

    /*
     * FIXME: If bogus value in lynx.cfg, then in old way, that is the
     * string that was displayed.  Now, user will never see that.  Good
     * or bad?  I don't know.  MRC
     */
        if (curval == current_char_set && UCAssume_MIMEcharset) {
            curval = UCGetLYhndl_byMIME(UCAssume_MIMEcharset);
        }
        PutLabel(fp0, "Assumed document character set");
        BeginSelect(fp0, assume_char_set_string);
        for (i = 0; i < LYNumCharsets; i++) {
            PutOption(fp0, i==curval,


conflict with postoptions()

        /* Assume Character Set: SELECT */
        if (!strcmp(data[i].tag, assume_char_set_string)) {
            int newval;

            newval = UCGetLYhndl_byMIME(data[i].value);
            if (newval != UCLYhndl_for_unspec) {
                UCLYhndl_for_unspec = newval;
                StrAllocCopy(UCAssume_MIMEcharset, data[i].value);
                assume_char_set_changed = TRUE;
            }
        }

Really, gen_option should present the charset for document before options menu
and not affect postoptions... Oh.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]