[w3m-dev 02663] fix prevA() cause loop

From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
This commit is contained in:
Fumitoshi UKAI
2001-12-14 17:58:40 +00:00
parent 6823531d6b
commit 5e2020bd47
2 changed files with 10 additions and 4 deletions

View File

@@ -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 $

View File

@@ -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: