changed test for new syntax

--dictID= and --maxdict=
This commit is contained in:
Yann Collet committed 2017-03-24 18:36:56 -07:00
1 parent 96aa3019b2
commit 4c41d37fcc
2 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -427,7 +427,7 @@ static void ZDICT_insertDictItem(dictItem* table, U32 maxSize, dictItem elt)
{
/* merge if possible */
U32 mergeId = ZDICT_tryMerge(table, elt, 0);
if (mergeId) {
if (mergeId) { /* recursive : re-merge the newly merged elt */
U32 newMerge = 1;
while (newMerge) {
newMerge = ZDICT_tryMerge(table, table[mergeId], mergeId); /* merge existing elt */