mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-18 22:26:30 +01:00
null-terminate words buffer
This commit is contained in:
parent
7fe249ad8d
commit
80160d740f
1 changed files with 1 additions and 0 deletions
|
@ -2674,6 +2674,7 @@ model_listWordsThrough( ModelCtxt* model, XWEnv xwe, XP_U16 col, XP_U16 row,
|
||||||
XP_LOGFF( "nWords: %d", lwtInfo.nWords );
|
XP_LOGFF( "nWords: %d", lwtInfo.nWords );
|
||||||
found = 0 < lwtInfo.nWords;
|
found = 0 < lwtInfo.nWords;
|
||||||
}
|
}
|
||||||
|
stream_putU8( stream, '\0' ); /* null-terminate for good luck */
|
||||||
|
|
||||||
model_destroy( tmpModel, xwe );
|
model_destroy( tmpModel, xwe );
|
||||||
return found;
|
return found;
|
||||||
|
|
Loading…
Reference in a new issue