diff options
author | Ito Hiroyuki <ZXB01226@nifty.com> | 2010-08-09 11:59:19 +0000 |
---|---|---|
committer | Ito Hiroyuki <ZXB01226@nifty.com> | 2010-08-09 11:59:19 +0000 |
commit | 80cb7d241d9cd8fb66a7421b1a01ecb64b1611b0 (patch) | |
tree | 388318f75a6e559ef7251c794002014208f9d1d9 /table.c | |
parent | https://bugs.launchpad.net/ubuntu/+source/w3m/+bug/131993 (diff) | |
download | w3m-80cb7d241d9cd8fb66a7421b1a01ecb64b1611b0.tar.gz w3m-80cb7d241d9cd8fb66a7421b1a01ecb64b1611b0.zip |
* [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 (limited to 'table.c')
-rw-r--r-- | table.c | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -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); } |