diff options
Diffstat (limited to 'atari/toolbar.c')
-rw-r--r-- | atari/toolbar.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/atari/toolbar.c b/atari/toolbar.c index c81c969ee..56d3b04b4 100644 --- a/atari/toolbar.c +++ b/atari/toolbar.c @@ -653,17 +653,17 @@ bool toolbar_text_input(struct s_toolbar *tb, char *text) bool toolbar_key_input(struct s_toolbar *tb, short nkc) { - assert(tb!=NULL);
- GRECT work;
+ assert(tb!=NULL); +
+ GRECT work; bool ret = false; - struct gui_window *gw = window_get_active_gui_window(tb->owner);
assert( gw != NULL );
long ucs4;
long ik = nkc_to_input_key(nkc, &ucs4);
-
+ if (ik == 0) {
if ((nkc&0xFF) >= 9) {
ret = textarea_keypress(tb->url.textarea, ucs4);
|