mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 15:24:05 +00:00
Slob: Fix decompressing of data in bzip2 format
This commit is contained in:
parent
f54c390acd
commit
00bd8aaf02
2
slob.cc
2
slob.cc
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue