Fix usage of replace param in SetTrieArray (bug 6113, r=asherkin).

This commit is contained in:
Nicholas Hastings 2014-05-04 21:38:32 -04:00
parent b0061ece62
commit f0d6fd1912

View File

@ -307,7 +307,7 @@ static cell_t SetTrieArray(IPluginContext *pContext, const cell_t *params)
return 1; return 1;
} }
if (!params[4]) if (!params[5])
return 0; return 0;
i->value.setArray(array, params[4]); i->value.setArray(array, params[4]);