From ffd197b848bf5f0564c90df03765edfa1a3d1a14 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 22 Oct 2014 09:43:50 +0100 Subject: Any top level window border is entierly up to the front end. --- riscos/window.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'riscos/window.c') diff --git a/riscos/window.c b/riscos/window.c index 389c2f819..1af124901 100644 --- a/riscos/window.c +++ b/riscos/window.c @@ -1539,8 +1539,7 @@ void ro_gui_window_open(wimp_open *open) /* hscroll */ size = ro_get_hscroll_height(NULL); - if (g->bw->border) - size -= 2; + size -= 2; /* 1px border on both sides */ if (!no_hscroll) { if (!(state.flags & wimp_WINDOW_HSCROLL)) { height -= size; @@ -1563,8 +1562,7 @@ void ro_gui_window_open(wimp_open *open) /* vscroll */ size = ro_get_vscroll_width(NULL); - if (g->bw->border) - size -= 2; + size -= 2; /* 1px border on both sides */ if (!no_vscroll) { if (!(state.flags & wimp_WINDOW_VSCROLL)) { width -= size; -- cgit v1.2.3