mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 04:24:09 +00:00
parent
0c7d7ada21
commit
1391a8fa7e
|
@ -382,8 +382,9 @@ bgl_entry Babylon::readEntry( ResourceHandler * resourceHandler )
|
||||||
len = qFromBigEndian( *reinterpret_cast< quint32 * >( block.data + pos ) );
|
len = qFromBigEndian( *reinterpret_cast< quint32 * >( block.data + pos ) );
|
||||||
pos += 4;
|
pos += 4;
|
||||||
}
|
}
|
||||||
else
|
else {
|
||||||
{
|
if ( pos + 1 > block.length )
|
||||||
|
break;
|
||||||
len = (unsigned char)block.data[ pos++ ];
|
len = (unsigned char)block.data[ pos++ ];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue