diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2012-10-05 14:41:40 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2012-10-05 14:41:40 +0100 |
commit | 75df8b9d4a81a291d8833df32cc48a47669065bd (patch) | |
tree | da9f5b388b7488f76fda5e86014569111a17ec24 /render/form.c | |
parent | 2bde4a3baa74345a16dc94e2d6a8bd6e3b369b27 (diff) | |
download | netsurf-75df8b9d4a81a291d8833df32cc48a47669065bd.tar.gz netsurf-75df8b9d4a81a291d8833df32cc48a47669065bd.tar.bz2 |
Talloc ctx fixup.
Diffstat (limited to 'render/form.c')
-rw-r--r-- | render/form.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/render/form.c b/render/form.c index 05d4042a2..776ebdc7a 100644 --- a/render/form.c +++ b/render/form.c @@ -1167,13 +1167,13 @@ static void form__select_process_selection(html_content *html, talloc_free(inline_box->text); inline_box->text = 0; if (control->data.select.num_selected == 0) - inline_box->text = talloc_strdup(html, + inline_box->text = talloc_strdup(html->bctx, messages_get("Form_None")); else if (control->data.select.num_selected == 1) - inline_box->text = talloc_strdup(html, + inline_box->text = talloc_strdup(html->bctx, control->data.select.current->text); else - inline_box->text = talloc_strdup(html, + inline_box->text = talloc_strdup(html->bctx, messages_get("Form_Many")); if (!inline_box->text) { warn_user("NoMemory", 0); |