From 9285bc917272510470551ce9d8a20ca39b4a363e Mon Sep 17 00:00:00 2001 From: ehouse Date: Wed, 10 Dec 2003 05:56:16 +0000 Subject: [PATCH] NODE_CAN_4 form of dawg is of type Xwr4 --- xwords4/palm/dictlist.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/xwords4/palm/dictlist.c b/xwords4/palm/dictlist.c index 6eb7793a2..f6184597d 100644 --- a/xwords4/palm/dictlist.c +++ b/xwords4/palm/dictlist.c @@ -33,7 +33,11 @@ #include "xwords4defines.h" #define TYPE_DAWG 'DAWG' -#define TYPE_XWR3 'Xwr3' +#ifdef NODE_CAN_4 +# define TYPE_XWRDICT 'Xwr4' +#else +# define TYPE_XWRDICT 'Xwr3' +#endif ////////////////////////////////////////////////////////////////////////////// // typedef and #defines @@ -211,7 +215,7 @@ searchDir( MPFORMAL PalmDictList** dlp, UInt16 volNum, unsigned char separator, VFSFileClose( fileRef ); if ( (err == errNone) && (type == TYPE_DAWG) && - (creator == TYPE_XWR3) ) { + (creator == TYPE_XWRDICT) ) { DictListEntry dl; dl.path = copyString( MPPARM(mpool) path ); @@ -283,7 +287,7 @@ DictListMake( MPFORMAL_NOCOMMA ) /* first the DM case */ while ( !found ) { err = DmGetNextDatabaseByTypeCreator( newSearch, &stateType, TYPE_DAWG, - TYPE_XWR3/* APPID */, + TYPE_XWRDICT/* APPID */, false,// onlyLatestVers, &cardNo, &dbID ); if ( err != 0 ) {