diff --git a/xwords4/android/XWords4/jni/anddict.c b/xwords4/android/XWords4/jni/anddict.c index 3c7acee91..d01f17cec 100644 --- a/xwords4/android/XWords4/jni/anddict.c +++ b/xwords4/android/XWords4/jni/anddict.c @@ -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;