[Scummvm-cvs-logs] SF.net SVN: scummvm: [23254] scummvm/branches/branch-0-9-0/gui

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Thu Jun 22 00:31:17 CEST 2006


Revision: 23254
Author:   lordhoto
Date:     2006-06-21 15:31:11 -0700 (Wed, 21 Jun 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=23254&view=rev

Log Message:
-----------
Reverting here too.

Modified Paths:
--------------
    scummvm/branches/branch-0-9-0/gui/ThemeClassic.cpp
    scummvm/branches/branch-0-9-0/gui/ThemeNew.cpp
Modified: scummvm/branches/branch-0-9-0/gui/ThemeClassic.cpp
===================================================================
--- scummvm/branches/branch-0-9-0/gui/ThemeClassic.cpp	2006-06-21 22:30:33 UTC (rev 23253)
+++ scummvm/branches/branch-0-9-0/gui/ThemeClassic.cpp	2006-06-21 22:31:11 UTC (rev 23254)
@@ -166,9 +166,6 @@
 	if (!_initOk)
 		return;
 
-	if (r.top < 0 || r.bottom - _font->getFontHeight() >= _screen.h)
-		return;
-
 	if (!inverted) {
 		restoreBackground(r);
 		_font->drawString(&_screen, str, r.left, r.top, r.width(), getColor(state), convertAligment(align), deltax, useEllipsis);

Modified: scummvm/branches/branch-0-9-0/gui/ThemeNew.cpp
===================================================================
--- scummvm/branches/branch-0-9-0/gui/ThemeNew.cpp	2006-06-21 22:30:33 UTC (rev 23253)
+++ scummvm/branches/branch-0-9-0/gui/ThemeNew.cpp	2006-06-21 22:31:11 UTC (rev 23254)
@@ -304,9 +304,6 @@
 	if (!_initOk)
 		return;
 
-	if (r.top < 0 || r.bottom - getFontHeight(font) >= _screen.h)
-		return;
-
 	Common::Rect r2(r.left, r.top, r.right, r.top+getFontHeight(font));
 	uint32 color;
 


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