diff --git a/xwords4/linux/linuxdict.c b/xwords4/linux/linuxdict.c index 4d065b4a6..76eace460 100644 --- a/xwords4/linux/linuxdict.c +++ b/xwords4/linux/linuxdict.c @@ -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 );