* [w3m-dev 04375] Re: "important" bugs from bugs.debian.org
* table.c (feed_table_tag): don't show message when rowspan is greater than ATTR_ROWSPAN_MAX * [w3m-dev 04376] Re: "important" bugs from bugs.debian.org * table.c (feed_table_tag): fix indent
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
|
2010-08-09 Ito Hiroyuki <ZXB01226 at nifty.com>
|
||||||
|
|
||||||
|
* [w3m-dev 04375] Re: "important" bugs from bugs.debian.org
|
||||||
|
* table.c (feed_table_tag): don't show message when rowspan is greater than ATTR_ROWSPAN_MAX
|
||||||
|
* [w3m-dev 04376] Re: "important" bugs from bugs.debian.org
|
||||||
|
* table.c (feed_table_tag): fix indent
|
||||||
|
|
||||||
2010-08-08 Steven Harms <ZXB01226 at nifty.com>
|
2010-08-08 Steven Harms <ZXB01226 at nifty.com>
|
||||||
|
|
||||||
* [w3m-dev 04371] Re: "important" bugs from bugs.debian.org
|
* [w3m-dev 04371] Re: "important" bugs from bugs.debian.org
|
||||||
@@ -9123,4 +9130,4 @@ a * [w3m-dev 03276] compile error on EWS4800
|
|||||||
* release-0-2-1
|
* release-0-2-1
|
||||||
* import w3m-0.2.1
|
* import w3m-0.2.1
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.1029 2010/08/08 10:14:32 htrb Exp $
|
$Id: ChangeLog,v 1.1030 2010/08/09 11:59:19 htrb Exp $
|
||||||
|
|||||||
10
table.c
10
table.c
@@ -1,4 +1,4 @@
|
|||||||
/* $Id: table.c,v 1.57 2010/08/08 10:14:32 htrb Exp $ */
|
/* $Id: table.c,v 1.58 2010/08/09 11:59:19 htrb Exp $ */
|
||||||
/*
|
/*
|
||||||
* HTML table
|
* HTML table
|
||||||
*/
|
*/
|
||||||
@@ -2594,11 +2594,9 @@ feed_table_tag(struct table *tbl, char *line, struct table_mode *mode,
|
|||||||
else
|
else
|
||||||
valign = HTT_MIDDLE;
|
valign = HTT_MIDDLE;
|
||||||
if (parsedtag_get_value(tag, ATTR_ROWSPAN, &rowspan)) {
|
if (parsedtag_get_value(tag, ATTR_ROWSPAN, &rowspan)) {
|
||||||
if(rowspan > ATTR_ROWSPAN_MAX)
|
if(rowspan > ATTR_ROWSPAN_MAX) {
|
||||||
{
|
rowspan = ATTR_ROWSPAN_MAX;
|
||||||
fprintf(stderr, " Table Rowspan too large. Limiting to %d.\n", ATTR_ROWSPAN_MAX);
|
}
|
||||||
rowspan = ATTR_ROWSPAN_MAX;
|
|
||||||
}
|
|
||||||
if ((tbl->row + rowspan) >= tbl->max_rowsize)
|
if ((tbl->row + rowspan) >= tbl->max_rowsize)
|
||||||
check_row(tbl, tbl->row + rowspan);
|
check_row(tbl, tbl->row + rowspan);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user