commit 33078febf99781a78640b298768cba2932fb4bff
parent e1b7d479327ccc295e696c6f6cd7407fd420f687
Author: ukai <ukai>
Date: Fri, 14 Dec 2001 17:58:40 +0000
[w3m-dev 02663] fix prevA() cause loop
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
Diffstat:
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,9 @@
+2001-12-15 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
+
+ * [w3m-dev 02663] fix prevA() cause loop
+ * table.c (do_refill): force flushline
+ * table.c (feed_table_tag): push line if <a> has no href attr
+
2001-12-15 Rin Okuyama <okuyama@cna.ne.jp>
* [w3m-dev 02659] rc.c (show_srch_str)
diff --git a/table.c b/table.c
@@ -779,7 +779,7 @@ do_refill(struct table *tbl, int row, int col, int maxlimit)
int limit = tbl->tables[id].indent + t->total_width;
tbl->tables[id].ptr = NULL;
save_fonteffect(&h_env, h_env.obuf);
- flushline(&h_env, &obuf, 0, 0, h_env.limit);
+ flushline(&h_env, &obuf, 0, 1, h_env.limit);
if (t->vspace > 0 && !(obuf.flag & RB_IGNORE_P))
do_blankline(&h_env, &obuf, 0, 0, h_env.limit);
if (RB_GET_ALIGN(h_env.obuf) == RB_CENTER)
@@ -2847,7 +2847,7 @@ feed_table_tag(struct table *tbl, char *line, struct table_mode *mode,
}
}
else
- suspend_or_pushdata(tbl, Strnew_m_charp(line, ANSP, NULL)->ptr);
+ suspend_or_pushdata(tbl, line);
break;
case HTML_DEL:
case HTML_N_DEL: