fix certificate viewer keypress consumption return

This commit is contained in:
Vincent Sanders 2016-07-31 11:38:03 +01:00
parent b939afe3fc
commit e0d531b824
2 changed files with 3 additions and 5 deletions

View File

@ -516,8 +516,7 @@ void sslcert_viewer_mouse_action(struct sslcert_session_data *ssl_d,
/* Exported interface, documented in sslcert_viewer.h */
void sslcert_viewer_keypress(struct sslcert_session_data *ssl_d,
uint32_t key)
bool sslcert_viewer_keypress(struct sslcert_session_data *ssl_d, uint32_t key)
{
treeview_keypress(ssl_d->tree, key);
return treeview_keypress(ssl_d->tree, key);
}

View File

@ -119,7 +119,6 @@ void sslcert_viewer_mouse_action(struct sslcert_session_data *ssl_d,
* \param key The ucs4 character codepoint
* \return true if the keypress is dealt with, false otherwise.
*/
void sslcert_viewer_keypress(struct sslcert_session_data *ssl_d,
uint32_t key);
bool sslcert_viewer_keypress(struct sslcert_session_data *ssl_d, uint32_t key);
#endif