summaryrefslogtreecommitdiff
path: root/plugins/CountryFlags
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-20 17:00:14 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-20 17:00:14 +0000
commit30ab6ceb71842f003f649b3d62b89af010cf40d1 (patch)
treeb1dae7a6d545cdf622a165ba4c576d3a41d71221 /plugins/CountryFlags
parent65461e7b4edb683cc09086fdaf49e0c2ef918bd4 (diff)
- direct call of MS_SKIN_ADDNEWSOUND replaced with Skin_AddSound() call;
- obsolete structure SKINSOUNDDESC removed - dynamically translated hot keys; - checked correct LPGEN'ing of the sounds creation; - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@500 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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;