diff options
author | Dai Sato <satodai@w3m.jp> | 2006-04-07 13:21:11 +0000 |
---|---|---|
committer | Dai Sato <satodai@w3m.jp> | 2006-04-07 13:21:11 +0000 |
commit | 22d66ca5850bf0190aa48d7f4442484f01fc7d02 (patch) | |
tree | 5b96b7e5bd65f08ad23867bc0738a0fef56f35df /table.c | |
parent | apply multiple patches on w3m-dev(-en) ML since Jun 2005 to Jan 2006. (diff) | |
download | w3m-22d66ca5850bf0190aa48d7f4442484f01fc7d02.tar.gz w3m-22d66ca5850bf0190aa48d7f4442484f01fc7d02.zip |
rewind to 10 Feb 2006.
Diffstat (limited to '')
-rw-r--r-- | table.c | 15 |
1 files changed, 5 insertions, 10 deletions
@@ -1,4 +1,4 @@ -/* $Id: table.c,v 1.50 2006/04/05 14:18:54 inu Exp $ */ +/* $Id: table.c,v 1.51 2006/04/07 13:21:12 inu Exp $ */ /* * HTML table */ @@ -1984,7 +1984,7 @@ renderTable(struct table *t, int max_width, struct html_feed_environ *h_env) break; } if (t->total_height == 0) { - renderbuf = Strnew_charp(" "); + renderbuf = Strnew(" "); t->total_height++; t->total_width = 1; push_render_image(renderbuf, 1, t->total_width, h_env); @@ -2465,16 +2465,11 @@ feed_table_tag(struct table *tbl, char *line, struct table_mode *mode, return TAG_ACTION_PLAIN; } if (mode->pre_mode & TBLM_INTXTA) { - switch (cmd) { - CASE_TABLE_TAG: - case HTML_N_TEXTAREA: + if (mode->end_tag == cmd) { table_close_textarea(tbl, mode, width); - if (cmd == HTML_N_TEXTAREA) - return TAG_ACTION_NONE; - break; - default: - return TAG_ACTION_FEED; + return TAG_ACTION_NONE; } + return TAG_ACTION_FEED; } if (mode->pre_mode & TBLM_SCRIPT) { if (mode->end_tag == cmd) { |