diff options
-rw-r--r-- | dpi/bookmarks.c | 6 | ||||
-rw-r--r-- | src/html.cc | 7 |
2 files changed, 7 insertions, 6 deletions
diff --git a/dpi/bookmarks.c b/dpi/bookmarks.c index f5a15636..3d744403 100644 --- a/dpi/bookmarks.c +++ b/dpi/bookmarks.c @@ -174,10 +174,10 @@ char *mainpage_sections_item = char *modifypage_sections_item = " <tr><td>\n" -" <table width='100%%' bgcolor='#b4b4b4'cellspacing='0' cellpadding='0'>\n" +" <table width='100%%'>\n" " <tr align='center'>" -" <td width='1%%'><input type='checkbox' name='s%d'></td>\n" -" <td><a href='#s%d'>%s</a></td></tr></table></td></tr>\n"; +" <td><input type='checkbox' name='s%d'></td>\n" +" <td width='100%%'><a href='#s%d'>%s</a></td></tr></table></td></tr>\n"; char *mainpage_sections_footer = " </table>\n"; diff --git a/src/html.cc b/src/html.cc index c6ee4132..fe834bed 100644 --- a/src/html.cc +++ b/src/html.cc @@ -3788,7 +3788,8 @@ static void Html_submit_form2(DilloHtml *html, DilloHtmlForm *form, break; case DILLO_HTML_INPUT_TEXTAREA: MultiLineTextResource *textres; - textres = (MultiLineTextResource*)((Embed*)input->widget)->getResource(); + textres = (MultiLineTextResource*)((Embed*)input->widget) + ->getResource(); Html_append_input(DataStr, input->name, textres->getText()); break; case DILLO_HTML_INPUT_CHECKBOX: @@ -4235,11 +4236,11 @@ static void Html_tag_close_textarea(DilloHtml *html, int TagIdx) /* The HTML3.2 spec says it can have "text and character entities". */ str = Html_parse_entities(html, html->Stash->str, html->Stash->len); - form = html->forms->getRef (html->forms->size() - 1); form->inputs->get(form->inputs->size() - 1).init_str = str; widget = (Widget*)(form->inputs->get(form->inputs->size() - 1).widget); - ((MultiLineTextResource *)((Embed *)widget)->getResource ())->setText(str); + ((MultiLineTextResource *)((Embed *)widget)->getResource ()) + ->setText(str); html->InFlags &= ~IN_TEXTAREA; } |