[Scummvm-cvs-logs] scummvm branch-1-8 -> 4bd12c73d3e9f45efc31251a285722488ae45ad4

wjp wjp at usecode.org
Fri Feb 26 01:05:13 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:
4bd12c73d3 BBVS: Move dialog to avoid bevel being drawn offscreen


Commit: 4bd12c73d3e9f45efc31251a285722488ae45ad4
    https://github.com/scummvm/scummvm/commit/4bd12c73d3e9f45efc31251a285722488ae45ad4
Author: Willem Jan Palenstijn (wjp at usecode.org)
Date: 2016-02-26T01:04:32+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