From 30ab6ceb71842f003f649b3d62b89af010cf40d1 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 20 Jun 2012 17:00:14 +0000 Subject: - 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 --- plugins/CountryFlags/huffman.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/CountryFlags') 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; -- cgit v1.2.3