diff options
author | Ole Loots <ole@monochrom.net> | 2013-03-30 13:25:54 +0100 |
---|---|---|
committer | Ole Loots <ole@monochrom.net> | 2013-03-30 13:25:54 +0100 |
commit | fbd63ceea971207f271a022478bd1a2a7ab4abd6 (patch) | |
tree | 1213c545284e898250c2f65a91cc38441383c770 /atari/hotlist.c | |
parent | 52cce284382d4e9126015a4b6b9d2f6c18f4d464 (diff) | |
download | netsurf-fbd63ceea971207f271a022478bd1a2a7ab4abd6.tar.gz netsurf-fbd63ceea971207f271a022478bd1a2a7ab4abd6.tar.bz2 |
Removed duplicate hotlist_init call.
Diffstat (limited to 'atari/hotlist.c')
-rwxr-xr-x | atari/hotlist.c | 4 |
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 { |