fix hotlist keypress consumption return

This commit is contained in:
Vincent Sanders 2016-08-06 16:59:43 +01:00
parent 124d3fe9f0
commit 597d167b9d
2 changed files with 4 additions and 4 deletions

View File

@ -1572,9 +1572,9 @@ void hotlist_mouse_action(browser_mouse_state mouse, int x, int y)
/* Exported interface, documented in hotlist.h */ /* 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);
} }

View File

@ -189,10 +189,10 @@ void hotlist_mouse_action(enum browser_mouse_state mouse, int x, int y);
/** /**
* Key press handling. * 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. * \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 * Determine whether there is a selection