Skip to content

Commit

Permalink
Fix usage of replace param in SetTrieArray (bug 6113, r=asherkin).
Browse files Browse the repository at this point in the history
  • Loading branch information
psychonic committed May 5, 2014
1 parent b0061ec commit f0d6fd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/logic/smn_adt_trie.cpp
Expand Up @@ -307,7 +307,7 @@ static cell_t SetTrieArray(IPluginContext *pContext, const cell_t *params)
return 1;
}

if (!params[4])
if (!params[5])
return 0;

i->value.setArray(array, params[4]);
Expand Down

0 comments on commit f0d6fd1

Please sign in to comment.