[Scummvm-cvs-logs] SF.net SVN: scummvm:[45203] scummvm/trunk/engines/sci/engine/kstring.cpp

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Sat Oct 17 23:22:27 CEST 2009


Revision: 45203
          http://scummvm.svn.sourceforge.net/scummvm/?rev=45203&view=rev
Author:   m_kiewitz
Date:     2009-10-17 21:22:27 +0000 (Sat, 17 Oct 2009)

Log Message:
-----------
SCI: kStrAt added fixme comment

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/kstring.cpp

Modified: scummvm/trunk/engines/sci/engine/kstring.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kstring.cpp	2009-10-17 21:11:56 UTC (rev 45202)
+++ scummvm/trunk/engines/sci/engine/kstring.cpp	2009-10-17 21:22:27 UTC (rev 45203)
@@ -305,6 +305,8 @@
 		newvalue = argv[2].toSint16();
 
 	if (dest_r.isRaw) {
+		// FIXME: in kq5 this here gets called with offset = 0xFFFF, we should implement maxSize check in here
+		//  i dont know the exact behaviour, so i dont know how to do this correctly
 		value = dest_r.raw[offset];
 		if (argc > 2) /* Request to modify this char */
 			dest_r.raw[offset] = newvalue;


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