summaryrefslogtreecommitdiff
path: root/atari/hotlist.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2012-07-27 14:08:17 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2012-07-27 14:08:17 +0100
commit72fe92d9ca0d3ba06c56cc258575e42102d502c6 (patch)
tree21169416bde287d6defc6d644299369a7e521707 /atari/hotlist.c
parent41f88e693798a186f27a92f9ad087447a62f78d5 (diff)
parent7d011c62ff249161dfb03ee8ecf0716d41d3d353 (diff)
downloadnetsurf-72fe92d9ca0d3ba06c56cc258575e42102d502c6.tar.gz
netsurf-72fe92d9ca0d3ba06c56cc258575e42102d502c6.tar.bz2
Merge branch 'master' of git://git.netsurf-browser.org/netsurf
Diffstat (limited to 'atari/hotlist.c')
-rwxr-xr-xatari/hotlist.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/atari/hotlist.c b/atari/hotlist.c
index 345c6d87f..18d016e49 100755
--- a/atari/hotlist.c
+++ b/atari/hotlist.c
@@ -134,11 +134,14 @@ void hotlist_init(void)
void hotlist_open(void)
{
+ GRECT pos = {app.w - (app.w/3), app.y, app.w/3, app.h/2};
+
if( hl.init == false ) {
return;
}
+
if( hl.open == false ) {
- WindOpen( hl.window, -1, -1, app.w/3, app.h/2);
+ WindOpen( hl.window, pos.g_x, pos.g_y, pos.g_w, pos.g_h);
hl.open = true;
atari_treeview_open( hl.tv );
} else {