From cb72da4acbca1a4af4a83a668331e7592149aac2 Mon Sep 17 00:00:00 2001 From: ehouse Date: Sun, 25 Jul 2004 00:38:52 +0000 Subject: [PATCH] accept dicts with new-format flags --- franklin/frankdlist.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/franklin/frankdlist.cpp b/franklin/frankdlist.cpp index f9b0a2d08..baf4ffb1f 100755 --- a/franklin/frankdlist.cpp +++ b/franklin/frankdlist.cpp @@ -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;