summaryrefslogtreecommitdiff
path: root/atari
diff options
context:
space:
mode:
Diffstat (limited to 'atari')
-rwxr-xr-xatari/history.c6
-rwxr-xr-xatari/hotlist.c5
2 files changed, 8 insertions, 3 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 {
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 {