ListIndexOf can have a null object reference, so adjust its signature. GK1 no longer crashes when right clicking in the inventory.

svn-id: r49009
This commit is contained in:
Matthew Hoops 2010-05-12 01:22:37 +00:00
parent 8b1cb63de3
commit 47d6284c83

View file

@ -360,7 +360,7 @@ SciKernelFunction kfunct_mappers[] = {
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"),