mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-15 15:41:24 +01:00
accept dicts with new-format flags
This commit is contained in:
parent
883f191b69
commit
cb72da4acb
1 changed files with 3 additions and 1 deletions
|
@ -59,9 +59,11 @@ FrankDictList::IndexForName( XP_UCHAR* name )
|
|||
XP_S16
|
||||
FrankDictList::dictListInsert( ebo_enumerator_t* eboep, FileLoc loc )
|
||||
{
|
||||
U16 flags;
|
||||
if ( strcmp( eboep->name.publisher, PUB_ERICHOUSE ) == 0
|
||||
&& strcmp( eboep->name.extension, EXT_XWORDSDICT ) == 0
|
||||
&& GetDictFlags( eboep, loc ) == FRANK_DICT_VERSION_1 ) {
|
||||
&& ( (flags = GetDictFlags( eboep, loc ) == 0x0001 )
|
||||
|| (flags == 0x0002) || (flags == 0x0003) ) ) {
|
||||
|
||||
XP_UCHAR* newName = (XP_UCHAR*)eboep->name.name;
|
||||
XP_U16 nDicts = fNDicts;
|
||||
|
|
Loading…
Reference in a new issue