mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-01 07:46:11 +00:00
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:
parent
9cb6196508
commit
3116a69adf
@ -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) {
|
||||
|
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user