diff options
author | Ole Loots <ole@monochrom.net> | 2013-01-31 19:22:35 +0100 |
---|---|---|
committer | Ole Loots <ole@monochrom.net> | 2013-01-31 19:22:35 +0100 |
commit | 54f719aa960159c5b1978846223732c9669ca7fa (patch) | |
tree | d190c128e66a7d98a1e6f8d0e77477499627d928 /atari/toolbar.c | |
parent | 577ff3cffc5fb99041c5da2d828b1f25cfb13dc9 (diff) | |
download | netsurf-54f719aa960159c5b1978846223732c9669ca7fa.tar.gz netsurf-54f719aa960159c5b1978846223732c9669ca7fa.tar.bz2 |
Some more finetuning...
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);
|