diff options
author | Willem Jan Palenstijn | 2016-02-26 01:01:00 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2016-02-26 01:03:57 +0100 |
commit | d390a63cd2a8bc812e3a460c2bec7b6df3c8ef3a (patch) | |
tree | 4632b6ea995dead2164d77806bfe14c24f071d89 /engines | |
parent | 94a03b6a45d686b3608427e84f6fe87c28107ca9 (diff) | |
download | scummvm-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.cpp | 2 |
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; |