[Scummvm-cvs-logs] SF.net SVN: scummvm: [23250] scummvm/trunk/gui
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Wed Jun 21 23:44:28 CEST 2006
Revision: 23250
Author: lordhoto
Date: 2006-06-21 14:44:13 -0700 (Wed, 21 Jun 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=23250&view=rev
Log Message:
-----------
Oops fixes problem introduced with last commit.
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:40:58 UTC (rev 23249)
+++ scummvm/trunk/gui/ThemeClassic.cpp 2006-06-21 21:44:13 UTC (rev 23250)
@@ -166,7 +166,7 @@
if (!_initOk)
return;
- if (r.top < 0 || r.bottom - _font->getFontHeight() >= _screen.h)
+ if (r.top < 0 || r.bottom + _font->getFontHeight() >= _screen.h)
return;
if (!inverted) {
Modified: scummvm/trunk/gui/ThemeNew.cpp
===================================================================
--- scummvm/trunk/gui/ThemeNew.cpp 2006-06-21 21:40:58 UTC (rev 23249)
+++ scummvm/trunk/gui/ThemeNew.cpp 2006-06-21 21:44:13 UTC (rev 23250)
@@ -304,7 +304,7 @@
if (!_initOk)
return;
- if (r.top < 0 || r.bottom - getFontHeight(font) >= _screen.h)
+ if (r.top < 0 || r.bottom + getFontHeight(font) >= _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