fix setValue for HashTable
This commit is contained in:
parent
8eff825971
commit
9c259f09ec
@ -252,7 +252,7 @@ static INLINE void setValue(wHashTable* table, wKeyValuePair* pair, const void*
|
||||
if (!pair)
|
||||
return;
|
||||
disposeValue(table, pair->value);
|
||||
if (table->key.fnObjectNew)
|
||||
if (table->value.fnObjectNew)
|
||||
pair->value = table->value.fnObjectNew(value);
|
||||
else
|
||||
pair->value = (void*)value;
|
||||
|
Loading…
Reference in New Issue
Block a user