Slob: Fix decompressing of data in bzip2 format

This commit is contained in:
Abs62 2016-06-23 17:38:18 +03:00
parent f54c390acd
commit 00bd8aaf02

View file

@ -454,7 +454,7 @@ quint8 SlobFile::getItem( RefEntry const & entry, string * data )
if( compression == ZLIB )
currentItemData = decompressZlib( compressedData.data(), length );
else
if( compression == ZLIB )
if( compression == BZ2 )
currentItemData = decompressBzip2( compressedData.data(), length );
else
currentItemData = decompressLzma2( compressedData.data(), length, true );