Ok after a few checks this is how it should be (fixing problems with my last commits).

svn-id: r23251
This commit is contained in:
Johannes Schickel 2006-06-21 21:52:16 +00:00
parent 9cb6196508
commit 3116a69adf
2 changed files with 2 additions and 2 deletions

View File

@ -166,7 +166,7 @@ void ThemeClassic::drawText(const Common::Rect &r, const Common::String &str, St
if (!_initOk)
return;
if (r.top < 0 || r.bottom + _font->getFontHeight() >= _screen.h)
if (r.top < 0 || r.bottom >= _screen.h)
return;
if (!inverted) {

View File

@ -304,7 +304,7 @@ void ThemeNew::drawText(const Common::Rect &r, const Common::String &str, State
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));