[w3m-dev-en 00243] Patch for display.c in w3m.0.1.10

From: Norman Walsh (ndw@nwalsh.com)
Date: Wed Oct 11 2000 - 11:37:57 CDT

  • Next message: Peter Poeml: "[w3m-dev-en 00244] Search backwards with 'N'"

    Hi,

    I just discovered w3m and I'm very impressed. It's delightful.
    I had a little trouble compiling it for English and thought you might
    appreciate the following patch:

    *** display.c.orig Tue Jun 6 01:39:13 2000
    --- display.c Wed Oct 11 11:54:22 2000
    ***************
    *** 718,723 ****
    --- 718,725 ----
          else {
              buf->pos = l->len -1;
    + #ifdef JP_CHARSET
              if (CharType(p[buf->pos]) == PC_KANJI2)
                  buf->pos--;
    + #endif
          }
          cpos = COLPOS(l, buf->pos);

    Also, can I make a couple of suggestions?

    1. The source distribution includes the CVS directories, which it
    probably shouldn't.

    2. Gcc issues a large number of warnings. I simply ignored them, but
    you might want to take a stab at cleaning them up, for the less
    fearless :-)

    Kudos, again!

                                            Be seeing you,
                                              norm

    -- 
    Norman Walsh <ndw@nwalsh.com> | In the course of a full life, one must
    http://nwalsh.com/            | be prepared to abandon one's baggage.
    



    This archive was generated by hypermail 2b29 : Wed Oct 11 2000 - 11:51:55 CDT