[Scummvm-cvs-logs] SF.net SVN: scummvm:[45064] scummvm/trunk/engines/sci/engine/kgraphics.cpp
m_kiewitz at users.sourceforge.net
m_kiewitz at users.sourceforge.net
Wed Oct 14 12:11:07 CEST 2009
Revision: 45064
http://scummvm.svn.sourceforge.net/scummvm/?rev=45064&view=rev
Author: m_kiewitz
Date: 2009-10-14 10:11:03 +0000 (Wed, 14 Oct 2009)
Log Message:
-----------
SCI: kDrawControl now also fixes bad rects (fixes jones/vga)
Modified Paths:
--------------
scummvm/trunk/engines/sci/engine/kgraphics.cpp
Modified: scummvm/trunk/engines/sci/engine/kgraphics.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kgraphics.cpp 2009-10-14 10:02:23 UTC (rev 45063)
+++ scummvm/trunk/engines/sci/engine/kgraphics.cpp 2009-10-14 10:11:03 UTC (rev 45064)
@@ -674,7 +674,8 @@
const char **listEntries = NULL;
bool isAlias = false;
- rect = Common::Rect (x, y, (int16)GET_SEL32V(controlObject, nsRight), (int16)GET_SEL32V(controlObject, nsBottom));
+ kGraphCreateRect(x, y, GET_SEL32V(controlObject, nsRight), GET_SEL32V(controlObject, nsBottom), &rect);
+
if (!textReference.isNull())
text = segMan->getString(textReference);
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