Changeset 852


Ignore:
Timestamp:
02/02/19 20:51:34 (5 years ago)
Author:
Maciej Komosinski
Message:

Dictionary.find() now also works for null values stored in a dictionary (now that they can be officially stored)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/vm/classes/collectionobj.cpp

    r849 r852  
    341341        for (HashEntryIterator it(hash); it.isValid(); it++)
    342342        {
     343                if (((ExtValue*)it->value) == NULL)
     344                {
     345                        if (args->getType() != TUnknown) continue;
     346                        ret->setString(it->key);
     347                        return;
     348                }
    343349                if ((*args) == (*((ExtValue*)it->value)))
    344350                {
Note: See TracChangeset for help on using the changeset viewer.