[Scummvm-cvs-logs] SF.net SVN: scummvm: [23252] scummvm/tags/release-0-9-0/gui
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Thu Jun 22 00:28:48 CEST 2006
Revision: 23252
Author: lordhoto
Date: 2006-06-21 15:28:41 -0700 (Wed, 21 Jun 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=23252&view=rev
Log Message:
-----------
Deletes checks added with my last commit they are useless as wjp and I got out after a few checks.
Modified Paths:
--------------
scummvm/tags/release-0-9-0/gui/ThemeClassic.cpp
scummvm/tags/release-0-9-0/gui/ThemeNew.cpp
Modified: scummvm/tags/release-0-9-0/gui/ThemeClassic.cpp
===================================================================
--- scummvm/tags/release-0-9-0/gui/ThemeClassic.cpp 2006-06-21 21:52:16 UTC (rev 23251)
+++ scummvm/tags/release-0-9-0/gui/ThemeClassic.cpp 2006-06-21 22:28:41 UTC (rev 23252)
@@ -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/tags/release-0-9-0/gui/ThemeNew.cpp
===================================================================
--- scummvm/tags/release-0-9-0/gui/ThemeNew.cpp 2006-06-21 21:52:16 UTC (rev 23251)
+++ scummvm/tags/release-0-9-0/gui/ThemeNew.cpp 2006-06-21 22:28:41 UTC (rev 23252)
@@ -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