[Scummvm-cvs-logs] scummvm master -> d390a63cd2a8bc812e3a460c2bec7b6df3c8ef3a
wjp
wjp at usecode.org
Fri Feb 26 01:04:07 CET 2016
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
d390a63cd2 BBVS: Move dialog to avoid bevel being drawn offscreen
Commit: d390a63cd2a8bc812e3a460c2bec7b6df3c8ef3a
https://github.com/scummvm/scummvm/commit/d390a63cd2a8bc812e3a460c2bec7b6df3c8ef3a
Author: Willem Jan Palenstijn (wjp at usecode.org)
Date: 2016-02-26T01:03:57+01:00
Commit Message:
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.
Changed paths:
engines/bbvs/dialogs.cpp
diff --git a/engines/bbvs/dialogs.cpp b/engines/bbvs/dialogs.cpp
index ef7f3c9..c8470f8 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;
More information about the Scummvm-git-logs
mailing list