commit c5d8d7f4e5acfb63773b88fb34960582dba91a52
parent 17563c10b645ea8c72bd05f15b60ccbc48984bea
Author: htrb <htrb>
Date: Mon, 9 Aug 2010 11:59:19 +0000
* [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
Diffstat:
2 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -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>
* [w3m-dev 04371] Re: "important" bugs from bugs.debian.org
diff --git a/table.c b/table.c
@@ -2594,11 +2594,9 @@ feed_table_tag(struct table *tbl, char *line, struct table_mode *mode,
else
valign = HTT_MIDDLE;
if (parsedtag_get_value(tag, ATTR_ROWSPAN, &rowspan)) {
- if(rowspan > ATTR_ROWSPAN_MAX)
- {
- fprintf(stderr, " Table Rowspan too large. Limiting to %d.\n", ATTR_ROWSPAN_MAX);
- rowspan = ATTR_ROWSPAN_MAX;
- }
+ if(rowspan > ATTR_ROWSPAN_MAX) {
+ rowspan = ATTR_ROWSPAN_MAX;
+ }
if ((tbl->row + rowspan) >= tbl->max_rowsize)
check_row(tbl, tbl->row + rowspan);
}