summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/hotlist.c4
-rw-r--r--desktop/hotlist.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/desktop/hotlist.c b/desktop/hotlist.c
index de26ff651..cce69be8e 100644
--- a/desktop/hotlist.c
+++ b/desktop/hotlist.c
@@ -1572,9 +1572,9 @@ void hotlist_mouse_action(browser_mouse_state mouse, int x, int y)
/* Exported interface, documented in hotlist.h */
-void hotlist_keypress(uint32_t key)
+bool hotlist_keypress(uint32_t key)
{
- treeview_keypress(hl_ctx.tree, key);
+ return treeview_keypress(hl_ctx.tree, key);
}
diff --git a/desktop/hotlist.h b/desktop/hotlist.h
index c0f4dec66..31aa0307c 100644
--- a/desktop/hotlist.h
+++ b/desktop/hotlist.h
@@ -189,10 +189,10 @@ void hotlist_mouse_action(enum browser_mouse_state mouse, int x, int y);
/**
* Key press handling.
*
- * \param key The ucs4 character codepoint
+ * \param key The ucs4 character codepoint
* \return true if the keypress is dealt with, false otherwise.
*/
-void hotlist_keypress(uint32_t key);
+bool hotlist_keypress(uint32_t key);
/**
* Determine whether there is a selection