lynx-dev
[Top][All Lists]
Advanced

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

lynx-dev problem with highlighting Japanese string


From: Hataguchi Takeshi
Subject: lynx-dev problem with highlighting Japanese string
Date: Thu, 7 Feb 2002 23:11:22 +0900 (JST)

2-8-4dev.7 seems to have a problem with highlighting Japanese string.

I attach a sample file, with which the problem occurs.  All of the
string in the link should be highlighted, but the latter half of the
third line wouldn't be highlighted with D.C.S is Japanese(Shift_JIS).

Probably this patch will fix it.
--
Takeshi Hataguchi
E-mail: address@hidden

--- LYUtils.c.bak       Wed Jan 02 10:30:08 2002
+++ LYUtils.c   Wed Feb 06 23:49:10 2002
@@ -1074,7 +1074,7 @@
                         * For CJK strings, by Masanobu Kimura.
                         */
                        if (HTCJK != NOCJK && is8bits(tmp[0])) {
-                           tmp[1] = LYGetHiliteStr(cur, 1)[++i];
+                           tmp[1] = hi_string[++i];
                            LYaddstr(tmp);
                            tmp[1] = '\0';
                        } else {

Attachment: foo.html
Description: Binary data


reply via email to

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