From 54f719aa960159c5b1978846223732c9669ca7fa Mon Sep 17 00:00:00 2001 From: Ole Loots Date: Thu, 31 Jan 2013 19:22:35 +0100 Subject: Some more finetuning... --- atari/toolbar.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'atari/toolbar.c') 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); -- cgit v1.2.3