diff options
author | Martin Kiewitz | 2010-01-27 22:53:09 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-01-27 22:53:09 +0000 |
commit | dfae4f7e99972a26a4ab8ffcc3958c935216b612 (patch) | |
tree | b4ee6cdb1221f1b0d3f06c0f83b8799ea507c482 /engines/sci/graphics | |
parent | 898135b7d0642fd3464b734f9b21d083d90bc983 (diff) | |
download | scummvm-rg350-dfae4f7e99972a26a4ab8ffcc3958c935216b612.tar.gz scummvm-rg350-dfae4f7e99972a26a4ab8ffcc3958c935216b612.tar.bz2 scummvm-rg350-dfae4f7e99972a26a4ab8ffcc3958c935216b612.zip |
SCI: fix for clipping code inside kGraph
svn-id: r47613
Diffstat (limited to 'engines/sci/graphics')
-rw-r--r-- | engines/sci/graphics/gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/gui.cpp b/engines/sci/graphics/gui.cpp index 74e3e37659..5caa172d39 100644 --- a/engines/sci/graphics/gui.cpp +++ b/engines/sci/graphics/gui.cpp @@ -275,7 +275,7 @@ void SciGui::display(const char *text, int argc, reg_t *argv) { _text->Size(rect, text, -1, width); rect.moveTo(_gfx->GetPort()->curLeft, _gfx->GetPort()->curTop); if (getSciVersion() >= SCI_VERSION_1_LATE) { - _gfx->Move(rect.right <= _screen->getWidth() ? 0 : _screen->getWidth() - rect.right, rect.bottom <= _screen->getHeight() ? 0 : _screen->getWidth() - rect.bottom); + _gfx->Move(rect.right <= _screen->getWidth() ? 0 : _screen->getWidth() - rect.right, rect.bottom <= _screen->getHeight() ? 0 : _screen->getHeight() - rect.bottom); rect.moveTo(_gfx->GetPort()->curLeft, _gfx->GetPort()->curTop); } |