aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2001-12-14 17:58:40 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2001-12-14 17:58:40 +0000
commit5e2020bd47a0bbc53b9cda38cf588970b21b8061 (patch)
tree33cb0231b5d4daf98ef424303dd5dcc3fbba7a40
parentrun make indent (diff)
downloadw3m-5e2020bd47a0bbc53b9cda38cf588970b21b8061.tar.gz
w3m-5e2020bd47a0bbc53b9cda38cf588970b21b8061.zip
[w3m-dev 02663] fix prevA() cause loop
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
-rw-r--r--ChangeLog8
-rw-r--r--table.c6
2 files changed, 10 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 93c68ef..7922ec3 100644
--- 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)
@@ -1244,4 +1250,4 @@
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.128 2001/12/14 17:35:08 ukai Exp $
+$Id: ChangeLog,v 1.129 2001/12/14 17:58:40 ukai Exp $
diff --git a/table.c b/table.c
index 983ea76..37628af 100644
--- a/table.c
+++ b/table.c
@@ -1,4 +1,4 @@
-/* $Id: table.c,v 1.10 2001/11/29 10:22:58 ukai Exp $ */
+/* $Id: table.c,v 1.11 2001/12/14 17:58:40 ukai Exp $ */
/*
* HTML table
*/
@@ -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: