Bug 299445 - r=darin sr=dveditz a=chase
git-svn-id: svn://10.0.0.236/trunk@175634 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
229e9b19e2
commit
a0d19e7d7a
@ -134,7 +134,7 @@ unsigned short FAR *work;
|
||||
left -= count[len];
|
||||
if (left < 0) return -1; /* over-subscribed */
|
||||
}
|
||||
if (left > 0 && (type == CODES || (codes - count[0] != 1)))
|
||||
if (left > 0 && (type == CODES || max != 1))
|
||||
return -1; /* incomplete set */
|
||||
|
||||
/* generate offsets into symbol table for each length for sorting */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user