mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-05 09:04:23 +03:00
Remove unused variable.
This commit is contained in:
parent
efc4a83737
commit
11b152c915
@ -1779,15 +1779,12 @@ bool ro_gui_window_click(wimp_pointer *pointer)
|
||||
bool ro_gui_window_keypress(wimp_key *key)
|
||||
{
|
||||
struct gui_window *g;
|
||||
hlcache_handle *h;
|
||||
uint32_t c = (uint32_t) key->c;
|
||||
|
||||
g = (struct gui_window *) ro_gui_wimp_event_get_user_data(key->w);
|
||||
if (g == NULL)
|
||||
return false;
|
||||
|
||||
h = g->bw->current_content;
|
||||
|
||||
/* First send the key to the browser window, eg. form fields. */
|
||||
|
||||
if ((unsigned)c < 0x20 || (0x7f <= c && c <= 0x9f) ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user