mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-06 20:45:54 +01:00
call new dict_super_init
This commit is contained in:
parent
eb168cf1f2
commit
f0e5fac581
1 changed files with 2 additions and 0 deletions
|
@ -52,6 +52,8 @@ ce_dictionary_make( CEAppGlobals* globals, XP_UCHAR* dictName )
|
||||||
|
|
||||||
ctxt = (CEDictionaryCtxt*)XP_MALLOC(globals->mpool, sizeof(*ctxt));
|
ctxt = (CEDictionaryCtxt*)XP_MALLOC(globals->mpool, sizeof(*ctxt));
|
||||||
XP_MEMSET( ctxt, 0, sizeof(*ctxt) );
|
XP_MEMSET( ctxt, 0, sizeof(*ctxt) );
|
||||||
|
|
||||||
|
dict_super_init( (DictionaryCtxt*)ctxt );
|
||||||
MPASSIGN( ctxt->super.mpool, globals->mpool );
|
MPASSIGN( ctxt->super.mpool, globals->mpool );
|
||||||
|
|
||||||
if ( !!dictName ) {
|
if ( !!dictName ) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue