[Scummvm-cvs-logs] SF.net SVN: scummvm:[47613] scummvm/trunk/engines/sci/graphics/gui.cpp
m_kiewitz at users.sourceforge.net
m_kiewitz at users.sourceforge.net
Wed Jan 27 23:53:12 CET 2010
Revision: 47613
http://scummvm.svn.sourceforge.net/scummvm/?rev=47613&view=rev
Author: m_kiewitz
Date: 2010-01-27 22:53:09 +0000 (Wed, 27 Jan 2010)
Log Message:
-----------
SCI: fix for clipping code inside kGraph
Modified Paths:
--------------
scummvm/trunk/engines/sci/graphics/gui.cpp
Modified: scummvm/trunk/engines/sci/graphics/gui.cpp
===================================================================
--- scummvm/trunk/engines/sci/graphics/gui.cpp 2010-01-27 21:43:23 UTC (rev 47612)
+++ scummvm/trunk/engines/sci/graphics/gui.cpp 2010-01-27 22:53:09 UTC (rev 47613)
@@ -275,7 +275,7 @@
_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);
}
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