mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-04 20:46:28 +01:00
skip new header if present
This commit is contained in:
parent
c4cdc24b78
commit
e2bb50ef62
1 changed files with 5 additions and 0 deletions
|
@ -242,6 +242,11 @@ parseDict( AndDictionaryCtxt* ctxt, XP_U8* ptr, XP_U32 dictLength )
|
|||
XP_Bool isUTF8 = XP_FALSE;
|
||||
|
||||
flags = n_ptr_tohs( &ptr );
|
||||
if ( 0 != (DICT_HEADER_MASK & flags) ) {
|
||||
flags &= ~DICT_HEADER_MASK;
|
||||
XP_U16 headerLen = n_ptr_tohs( &ptr );
|
||||
ptr += headerLen;
|
||||
}
|
||||
|
||||
if ( flags == 0x0002 ) {
|
||||
nodeSize = 3;
|
||||
|
|
Loading…
Add table
Reference in a new issue