fix global history keypress consumption return

This commit is contained in:
Vincent Sanders 2016-08-04 23:40:34 +01:00
parent e8df81fdb3
commit 73b81a59cc
2 changed files with 3 additions and 3 deletions

View File

@ -947,9 +947,9 @@ void global_history_mouse_action(browser_mouse_state mouse, int x, int y)
/* Exported interface, documented in global_history.h */
void global_history_keypress(uint32_t key)
bool global_history_keypress(uint32_t key)
{
treeview_keypress(gh_ctx.tree, key);
return treeview_keypress(gh_ctx.tree, key);
}

View File

@ -101,7 +101,7 @@ void global_history_mouse_action(enum browser_mouse_state mouse, int x, int y);
* \param key The ucs4 character codepoint
* \return true if the keypress is dealt with, false otherwise.
*/
void global_history_keypress(uint32_t key);
bool global_history_keypress(uint32_t key);
/**
* Determine whether there is a selection