summaryrefslogtreecommitdiff
path: root/content/handlers/html/form_internal.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2019-11-07 18:52:49 +0000
committerVincent Sanders <vince@kyllikki.org>2019-11-07 18:52:49 +0000
commit570f2dc03608d525ef02102ff0ca8225d57b40ed (patch)
tree958695b65c50b5b01117b25a782945d0e7ac64a4 /content/handlers/html/form_internal.h
parent7de3100624bf77980e92f8e507a209dfe34a8309 (diff)
downloadnetsurf-570f2dc03608d525ef02102ff0ca8225d57b40ed.tar.gz
netsurf-570f2dc03608d525ef02102ff0ca8225d57b40ed.tar.bz2
remove user warning and fix up error handling in form select menus
Diffstat (limited to 'content/handlers/html/form_internal.h')
-rw-r--r--content/handlers/html/form_internal.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/content/handlers/html/form_internal.h b/content/handlers/html/form_internal.h
index 657522488..45f861f87 100644
--- a/content/handlers/html/form_internal.h
+++ b/content/handlers/html/form_internal.h
@@ -200,13 +200,13 @@ bool form_successful_controls(struct form *form,
/**
* Open a select menu for a select form control, creating it if necessary.
*
- * \param client_data data passed to the redraw callback
- * \param control The select form control for which the menu is being opened
- * \param redraw_callback The callback to redraw the select menu.
- * \param c The content the select menu is opening for.
- * \return false on memory exhaustion, true otherwise
+ * \param client_data data passed to the redraw callback
+ * \param control The select form control for which the menu is being opened
+ * \param redraw_callback The callback to redraw the select menu.
+ * \param c The content the select menu is opening for.
+ * \return NSERROR_OK on sucess else error code.
*/
-bool form_open_select_menu(void *client_data,
+nserror form_open_select_menu(void *client_data,
struct form_control *control,
select_menu_redraw_callback redraw_callback,
struct content *c);