mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
comments and assertions
This commit is contained in:
parent
d1603aa543
commit
8a6992132b
2 changed files with 4 additions and 3 deletions
|
@ -704,8 +704,6 @@ matchShortName( const wchar_t* wPath, XP_U16 XP_UNUSED(index), void* ctxt )
|
|||
wchar_t buf[CE_MAX_PATH_LEN+1];
|
||||
wchar_t* name;
|
||||
|
||||
LOG_FUNC();
|
||||
|
||||
XP_ASSERT( !datap->found );
|
||||
|
||||
name = wbname( buf, sizeof(buf), wPath );
|
||||
|
|
|
@ -305,7 +305,8 @@ makeTestBuf( CEDrawCtx* dctx, XP_UCHAR* buf, XP_UCHAR bufLen, RFIndex index )
|
|||
XP_U16 nFaces = dict_numTileFaces( dict );
|
||||
Tile tiles[nFaces];
|
||||
XP_U16 nOut = 0;
|
||||
XP_ASSERT( !!dict && nFaces < bufLen );
|
||||
XP_ASSERT( !!dict );
|
||||
XP_ASSERT( nFaces < bufLen );
|
||||
if ( dict_hasBlankTile(dict) ) {
|
||||
blank = dict_getBlankTile( dict );
|
||||
}
|
||||
|
@ -1489,6 +1490,8 @@ DLSTATIC void
|
|||
DRAW_FUNC_NAME(dictChanged)( DrawCtx* p_dctx, const DictionaryCtxt* dict )
|
||||
{
|
||||
CEDrawCtx* dctx = (CEDrawCtx*)p_dctx;
|
||||
/* May want to inval font cache if new dict has different tiles from
|
||||
old. Use dict_tilesAreSame(). */
|
||||
dctx->dict = dict;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue