mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-26 09:58:20 +01:00
fix test: unsigned can't drop below 0
This commit is contained in:
parent
26913c5a37
commit
652fe6dd64
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ pool_containsTiles( const PoolContext* pool, const TrayTileSet* tiles )
|
|||
|
||||
/* In case we have duplicates, make count of each type */
|
||||
for ( ii = 0; allThere && ii < tiles->nTiles; ++ii ) {
|
||||
allThere = 0 <= --counts[tiles->tiles[ii]];
|
||||
allThere = 0 < counts[tiles->tiles[ii]]--;
|
||||
}
|
||||
|
||||
return allThere;
|
||||
|
|
Loading…
Reference in a new issue