From f0d6fd1912f8ee640311fae3dd23072d396499e7 Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Sun, 4 May 2014 21:38:32 -0400 Subject: [PATCH] Fix usage of replace param in SetTrieArray (bug 6113, r=asherkin). --- core/logic/smn_adt_trie.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/logic/smn_adt_trie.cpp b/core/logic/smn_adt_trie.cpp index 856202a7..ab70f8cc 100644 --- a/core/logic/smn_adt_trie.cpp +++ b/core/logic/smn_adt_trie.cpp @@ -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]);