aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/html.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/html.cc b/src/html.cc
index 493407fc..81dae4b6 100644
--- a/src/html.cc
+++ b/src/html.cc
@@ -1055,9 +1055,9 @@ int DilloHtml::formNew(DilloHtmlMethod method, const DilloUrl *action,
{
DilloHtmlForm *form = new DilloHtmlForm (method,action,enc,charset);
form->form_receiver = new form::Form (this);
- int size = forms->size ();
+ int nf = forms->size ();
forms->increase ();
- forms->set (size, form);
+ forms->set (nf, form);
_MSG("Html formNew: action=%s nform=%d\n", action, nf);
return forms->size();
}