diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2008-09-07 23:00:47 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2008-09-07 23:00:47 -0400 |
commit | 67b10f416009d4334c0a494a46235d284675fa2d (patch) | |
tree | 0518bc3cfb3858b18de7b76d6634262249447862 /src/LYUtils.c | |
parent | b027e6c551e944c3de2c6a41958afbdfcbb9e942 (diff) | |
download | lynx-snapshots-67b10f416009d4334c0a494a46235d284675fa2d.tar.gz |
snapshot of project "lynx", label v2-8-7dev_9j
Diffstat (limited to 'src/LYUtils.c')
-rw-r--r-- | src/LYUtils.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/LYUtils.c b/src/LYUtils.c index 6bdf302b..3674d302 100644 --- a/src/LYUtils.c +++ b/src/LYUtils.c @@ -1,4 +1,6 @@ -/* $LynxId: LYUtils.c,v 1.173 2008/09/06 14:35:56 tom Exp $ */ +/* + * $LynxId: LYUtils.c,v 1.175 2008/09/07 17:58:37 tom Exp $ + */ #include <HTUtils.h> #include <HTTCP.h> #include <HTParse.h> @@ -982,16 +984,17 @@ static int find_cached_style(int cur, s = GetCachedStyle(LYP, x); if (s != 0) { SetCachedStyle(LYP, LXP, s); - CTRACE((tfp, "found %d, x_offset=%d.\n", s, x - LXP)); + CTRACE2(TRACE_STYLE, + (tfp, "found %d, x_offset=%d.\n", s, x - LXP)); break; } } if (s == 0) { - CTRACE((tfp, "not found, assume <a>.\n")); + CTRACE2(TRACE_STYLE, (tfp, "not found, assume <a>.\n")); s = s_a; } } else { - CTRACE((tfp, "found %d.\n", s)); + CTRACE2(TRACE_STYLE, (tfp, "found %d.\n", s)); } } else { CTRACE2(TRACE_STYLE, @@ -1045,7 +1048,8 @@ void LYhighlight(int flag, cur = 0; } - CTRACE((tfp, "LYhighlight %s %d [%d]:%s\n", + CTRACE((tfp, "LYhighlight at(%2d,%2d) %s %d [%d]:%s\n", + links[cur].ly, links[cur].lx, (flag ? "on" : "off"), |