aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2007-12-19 13:39:49 +0100
committerjcid <devnull@localhost>2007-12-19 13:39:49 +0100
commit5834f58cbb7104eef7addf2197b3002ab5376b9d (patch)
tree04a9b109f4389e64cd55caa33d69275b5622ee77 /src
parent4217d459c6e3e0bc3c4f92b0ac395db913104e86 (diff)
minor changes
Diffstat (limited to 'src')
-rw-r--r--src/html.cc7
1 files changed, 4 insertions, 3 deletions
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;
}