mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-28 07:58:08 +01:00
don't consider specials that are blanks to be bitmap-backed tiles.
This prevents the board from passing an array of empty bitmaps into draw code which in turn allows platform code to be less defensive.
This commit is contained in:
parent
08d5139631
commit
3b94642e3d
1 changed files with 1 additions and 1 deletions
|
@ -413,7 +413,7 @@ XP_Bool
|
|||
dict_faceIsBitmap( const DictionaryCtxt* dict, Tile tile )
|
||||
{
|
||||
const XP_UCHAR* facep = dict_getTileStringRaw( dict, tile );
|
||||
return IS_SPECIAL(*facep);
|
||||
return IS_SPECIAL(*facep) && (tile != dict->blankTile);
|
||||
} /* dict_faceIsBitmap */
|
||||
|
||||
void
|
||||
|
|
Loading…
Add table
Reference in a new issue