summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOle Loots <ole@monochrom.net>2013-03-30 13:25:54 +0100
committerOle Loots <ole@monochrom.net>2013-03-30 13:25:54 +0100
commitfbd63ceea971207f271a022478bd1a2a7ab4abd6 (patch)
tree1213c545284e898250c2f65a91cc38441383c770
parent52cce284382d4e9126015a4b6b9d2f6c18f4d464 (diff)
downloadnetsurf-fbd63ceea971207f271a022478bd1a2a7ab4abd6.tar.gz
netsurf-fbd63ceea971207f271a022478bd1a2a7ab4abd6.tar.bz2
Removed duplicate hotlist_init call.
-rwxr-xr-xatari/hotlist.c4
1 files changed, 2 insertions, 2 deletions
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 {