diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2008-09-05 00:30:55 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2008-09-05 00:30:55 -0400 |
commit | 260d8a57df392ef59b6430ccadf4e9e5bcdefe12 (patch) | |
tree | a279a10e16597a2b7b401f3c92bef9168be03d18 /src/LYUtils.c | |
parent | 3ec9560de810415534fac8c4e49caa5def1176de (diff) | |
download | lynx-snapshots-260d8a57df392ef59b6430ccadf4e9e5bcdefe12.tar.gz |
snapshot of project "lynx", label v2-8-7dev_9h
Diffstat (limited to 'src/LYUtils.c')
-rw-r--r-- | src/LYUtils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/LYUtils.c b/src/LYUtils.c index 4a7063ab..7b1cb164 100644 --- a/src/LYUtils.c +++ b/src/LYUtils.c @@ -1,4 +1,4 @@ -/* $LynxId: LYUtils.c,v 1.169 2008/08/31 19:03:45 tom Exp $ */ +/* $LynxId: LYUtils.c,v 1.170 2008/09/05 00:19:21 tom Exp $ */ #include <HTUtils.h> #include <HTTCP.h> #include <HTParse.h> @@ -1091,8 +1091,8 @@ void LYhighlight(int flag, if (avail_space > links[cur].l_form->size) avail_space = links[cur].l_form->size; - gllen = LYmbcsstrlen(text, utf_flag, NO); - len = LYmbcs_skip_glyphs(text, avail_space, utf_flag) - text; + gllen = LYmbcsstrlen(text, utf_flag, YES); + len = LYmbcs_skip_cells(text, avail_space, utf_flag) - text; LYwaddnstr(LYwin, text, len); while (gllen++ < avail_space) LYaddch('_'); |