mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-28 07:58:08 +01:00
fix compile error!
This commit is contained in:
parent
7c4858887a
commit
91f0094008
1 changed files with 2 additions and 3 deletions
|
@ -54,7 +54,6 @@ ce_dictionary_make( CEAppGlobals* globals, XP_UCHAR* dictName )
|
||||||
wchar_t nameBuf[MAX_PATH+1];
|
wchar_t nameBuf[MAX_PATH+1];
|
||||||
HANDLE hFile;
|
HANDLE hFile;
|
||||||
XP_U8* ptr;
|
XP_U8* ptr;
|
||||||
HANDLE mappedFile;
|
|
||||||
|
|
||||||
XP_ASSERT( !!dictName );
|
XP_ASSERT( !!dictName );
|
||||||
XP_DEBUGF( "looking for dict %s", dictName );
|
XP_DEBUGF( "looking for dict %s", dictName );
|
||||||
|
@ -91,12 +90,12 @@ ce_dictionary_make( CEAppGlobals* globals, XP_UCHAR* dictName )
|
||||||
#endif
|
#endif
|
||||||
ctxt = (CEDictionaryCtxt*)ce_dictionary_make_empty( globals );
|
ctxt = (CEDictionaryCtxt*)ce_dictionary_make_empty( globals );
|
||||||
|
|
||||||
|
ctxt->mappedFile = mappedFile;
|
||||||
|
ctxt->mappedBase = mappedBase;
|
||||||
ctxt->super.nodeSize = nodeSize;
|
ctxt->super.nodeSize = nodeSize;
|
||||||
|
|
||||||
ctxt->super.destructor = ce_dict_destroy;
|
ctxt->super.destructor = ce_dict_destroy;
|
||||||
ctxt->super.func_dict_getShortName = ce_dict_getShortName;
|
ctxt->super.func_dict_getShortName = ce_dict_getShortName;
|
||||||
|
|
||||||
ctxt->mappedBase = mappedBase;
|
|
||||||
XP_DEBUGF( "ptr starting at 0x%lx", ptr );
|
XP_DEBUGF( "ptr starting at 0x%lx", ptr );
|
||||||
|
|
||||||
numFaces = (XP_U16)(*ptr++);
|
numFaces = (XP_U16)(*ptr++);
|
||||||
|
|
Loading…
Add table
Reference in a new issue