From fbd63ceea971207f271a022478bd1a2a7ab4abd6 Mon Sep 17 00:00:00 2001 From: Ole Loots Date: Sat, 30 Mar 2013 13:25:54 +0100 Subject: Removed duplicate hotlist_init call. --- atari/hotlist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'atari/hotlist.c') diff --git a/atari/hotlist.c b/atari/hotlist.c index 3684a9a85..c25640b66 100755 --- a/atari/hotlist.c +++ b/atari/hotlist.c @@ -157,7 +157,6 @@ void hotlist_init(void) void hotlist_open(void) { - hotlist_init(); if( hl.init == false ) { return; } @@ -220,8 +219,9 @@ void atari_hotlist_add_page( const char * url, const char * title ) NSTREEVIEW tv = hl.tv; if(hl.tv == NULL ) return; - // TODO: do no open hotlist, and remove guiwin on close... + hotlist_open(); + if( hl.tv->click.x >= 0 && hl.tv->click.y >= 0 ){ hotlist_add_page_xy( url, hl.tv->click.x, hl.tv->click.y ); } else { -- cgit v1.2.3