diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2012-07-27 14:08:17 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2012-07-27 14:08:17 +0100 |
commit | 72fe92d9ca0d3ba06c56cc258575e42102d502c6 (patch) | |
tree | 21169416bde287d6defc6d644299369a7e521707 /atari/history.c | |
parent | 41f88e693798a186f27a92f9ad087447a62f78d5 (diff) | |
parent | 7d011c62ff249161dfb03ee8ecf0716d41d3d353 (diff) | |
download | netsurf-72fe92d9ca0d3ba06c56cc258575e42102d502c6.tar.gz netsurf-72fe92d9ca0d3ba06c56cc258575e42102d502c6.tar.bz2 |
Merge branch 'master' of git://git.netsurf-browser.org/netsurf
Diffstat (limited to 'atari/history.c')
-rwxr-xr-x | atari/history.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/atari/history.c b/atari/history.c index c145da3ad..00fcce9f9 100755 --- a/atari/history.c +++ b/atari/history.c @@ -55,12 +55,14 @@ char **global_history_get_recent( int *count ) void global_history_open( void ) { - if( gl_history.init == false ) { + GRECT pos = {app.w - (app.w/3), app.y, app.w/3, app.h/2}; + + if (gl_history.init == false ) { printf("history not init"); return; } if( gl_history.open == false ) { - WindOpen( gl_history.window, -1, -1, app.w/3, app.h/2); + WindOpen( gl_history.window, pos.g_x, pos.g_y, pos.g_w, pos.g_h); gl_history.open = true; atari_treeview_open( gl_history.tv ); } else { |