[Scummvm-cvs-logs] SF.net SVN: scummvm: [23251] scummvm/trunk/gui
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Wed Jun 21 23:52:21 CEST 2006
Revision: 23251
Author: lordhoto
Date: 2006-06-21 14:52:16 -0700 (Wed, 21 Jun 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=23251&view=rev
Log Message:
-----------
Ok after a few checks this is how it should be (fixing problems with my last commits).
Modified Paths:
--------------
scummvm/trunk/gui/ThemeClassic.cpp
scummvm/trunk/gui/ThemeNew.cpp
Modified: scummvm/trunk/gui/ThemeClassic.cpp
===================================================================
--- scummvm/trunk/gui/ThemeClassic.cpp 2006-06-21 21:44:13 UTC (rev 23250)
+++ scummvm/trunk/gui/ThemeClassic.cpp 2006-06-21 21:52:16 UTC (rev 23251)
@@ -166,7 +166,7 @@
if (!_initOk)
return;
- if (r.top < 0 || r.bottom + _font->getFontHeight() >= _screen.h)
+ if (r.top < 0 || r.bottom >= _screen.h)
return;
if (!inverted) {
Modified: scummvm/trunk/gui/ThemeNew.cpp
===================================================================
--- scummvm/trunk/gui/ThemeNew.cpp 2006-06-21 21:44:13 UTC (rev 23250)
+++ scummvm/trunk/gui/ThemeNew.cpp 2006-06-21 21:52:16 UTC (rev 23251)
@@ -304,7 +304,7 @@
if (!_initOk)
return;
- if (r.top < 0 || r.bottom + getFontHeight(font) >= _screen.h)
+ if (r.top < 0 || r.bottom >= _screen.h)
return;
Common::Rect r2(r.left, r.top, r.right, r.top+getFontHeight(font));
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list