aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2016-02-26 01:01:00 +0100
committerWillem Jan Palenstijn2016-02-26 01:03:57 +0100
commitd390a63cd2a8bc812e3a460c2bec7b6df3c8ef3a (patch)
tree4632b6ea995dead2164d77806bfe14c24f071d89 /engines
parent94a03b6a45d686b3608427e84f6fe87c28107ca9 (diff)
downloadscummvm-rg350-d390a63cd2a8bc812e3a460c2bec7b6df3c8ef3a.tar.gz
scummvm-rg350-d390a63cd2a8bc812e3a460c2bec7b6df3c8ef3a.tar.bz2
scummvm-rg350-d390a63cd2a8bc812e3a460c2bec7b6df3c8ef3a.zip
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.
Diffstat (limited to 'engines')
-rw-r--r--engines/bbvs/dialogs.cpp2
1 files changed, 1 insertions, 1 deletions
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;