summaryrefslogtreecommitdiff
path: root/plugins/CountryFlags
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CountryFlags')
-rw-r--r--plugins/CountryFlags/huffman.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/CountryFlags/huffman.c b/plugins/CountryFlags/huffman.c
index b253f2d48f..c460e9a66e 100644
--- a/plugins/CountryFlags/huffman.c
+++ b/plugins/CountryFlags/huffman.c
@@ -308,12 +308,12 @@ static void _Huffman_MakeTree( huff_sym_t *sym, huff_bitstream_t *stream )
{
if ( nodes[k].Count > 0 )
{
- if ( !node_1 || (nodes[k].Count <= node_1->Count) )
+ if ( !node_1 || (nodes[k].Count <= node_1->Count))
{
node_2 = node_1;
node_1 = &nodes[k];
}
- else if ( !node_2 || (nodes[k].Count <= node_2->Count) )
+ else if ( !node_2 || (nodes[k].Count <= node_2->Count))
{
node_2 = &nodes[k];
}
@@ -367,7 +367,7 @@ static huff_decodenode_t * _Huffman_RecoverTree( huff_decodenode_t *nodes,
this_node->ChildB = (huff_decodenode_t *) 0;
/* Is this a leaf node? */
- if ( _Huffman_ReadBit( stream ) )
+ if ( _Huffman_ReadBit( stream ))
{
/* Get symbol from tree description and store in lead node */
this_node->Symbol = _Huffman_Read8Bits( stream );
@@ -494,7 +494,7 @@ void Huffman_Uncompress( unsigned char *in, unsigned char *out,
while( node->Symbol < 0 )
{
/* Get next node */
- if ( _Huffman_ReadBit( &stream ) )
+ if ( _Huffman_ReadBit( &stream ))
node = node->ChildB;
else
node = node->ChildA;