summaryrefslogtreecommitdiff
path: root/amiga/gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'amiga/gui.c')
-rw-r--r--amiga/gui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index edb52207c..31339fbbe 100644
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -4240,9 +4240,9 @@ gui_window_create(struct browser_window *bw,
"frameiclass",
IA_Recessed, TRUE,
#endif
- IA_Top, - dri->dri_Font->tf_Baseline - 3,
+ IA_Top, (int)(- ceil((scrn->WBorBottom + height) / 2)),
IA_Left, -4,
- IA_Height, 1 + height - scrn->WBorBottom,
+ IA_Height, 2 + height - scrn->WBorBottom,
IA_Label, NULL,
IA_InBorder, TRUE,
IA_Screen, scrn,