[Scummvm-cvs-logs] SF.net SVN: scummvm:[49009] scummvm/trunk/engines/sci/engine/kernel.cpp
mthreepwood at users.sourceforge.net
mthreepwood at users.sourceforge.net
Wed May 12 03:22:38 CEST 2010
Revision: 49009
http://scummvm.svn.sourceforge.net/scummvm/?rev=49009&view=rev
Author: mthreepwood
Date: 2010-05-12 01:22:37 +0000 (Wed, 12 May 2010)
Log Message:
-----------
ListIndexOf can have a null object reference, so adjust its signature. GK1 no longer crashes when right clicking in the inventory.
Modified Paths:
--------------
scummvm/trunk/engines/sci/engine/kernel.cpp
Modified: scummvm/trunk/engines/sci/engine/kernel.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kernel.cpp 2010-05-11 19:13:24 UTC (rev 49008)
+++ scummvm/trunk/engines/sci/engine/kernel.cpp 2010-05-12 01:22:37 UTC (rev 49009)
@@ -360,7 +360,7 @@
DEFUN("ListEachElementDo", kListEachElementDo, "li.*"),
DEFUN("ListFirstTrue", kListFirstTrue, "li.*"),
DEFUN("ListAllTrue", kListAllTrue, "li.*"),
- DEFUN("ListIndexOf", kListIndexOf, "lo"),
+ DEFUN("ListIndexOf", kListIndexOf, "lZo"),
DEFUN("OnMe", kOnMe, "iio.*"),
DEFUN("InPolygon", kInPolygon, "iio"),
DEFUN("CreateTextBitmap", kCreateTextBitmap, "iiio"),
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