From d390a63cd2a8bc812e3a460c2bec7b6df3c8ef3a Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Fri, 26 Feb 2016 01:01:00 +0100 Subject: BBVS: Move dialog to avoid bevel being drawn offscreen Since the GUI renderer doesn't do clipping, this would cause a potential crash with the Classic theme. --- engines/bbvs/dialogs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/bbvs') diff --git a/engines/bbvs/dialogs.cpp b/engines/bbvs/dialogs.cpp index ef7f3c9320..c8470f8eef 100644 --- a/engines/bbvs/dialogs.cpp +++ b/engines/bbvs/dialogs.cpp @@ -102,7 +102,7 @@ void MainMenu::reflowLayout() { _w = 2 * buttonWidth + buttonPadding; _h = 3 * buttonHeight + 3 * buttonPadding; _x = (screenW - _w) / 2; - _y = screenH - _h; + _y = screenH - _h - 2; int x = 0, y = 0; -- cgit v1.2.3