From 80cb7d241d9cd8fb66a7421b1a01ecb64b1611b0 Mon Sep 17 00:00:00 2001 From: Ito Hiroyuki Date: Mon, 9 Aug 2010 11:59:19 +0000 Subject: * [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 --- table.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'table.c') diff --git a/table.c b/table.c index dbe874c..e1243ff 100644 --- a/table.c +++ b/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 */ @@ -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); } -- cgit v1.2.3