mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-27 09:58:45 +01:00
Don't behave badly in presence of empty dict: word count should be 0
and sanity test should pass.
This commit is contained in:
parent
d856b9a8ce
commit
f32f7a8b19
1 changed files with 1 additions and 0 deletions
|
@ -370,6 +370,7 @@ initFromDictFile( LinuxDictionaryCtxt* dctx, const char* fileName )
|
|||
} else {
|
||||
dctx->super.base = NULL;
|
||||
dctx->super.topEdge = NULL;
|
||||
numEdges = 0;
|
||||
}
|
||||
|
||||
dctx->super.name = copyString( dctx->super.mpool, fileName );
|
||||
|
|
Loading…
Reference in a new issue