mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-06 20:45:54 +01:00
fix assertion failure by handling missing case
This commit is contained in:
parent
33916761fb
commit
53f44af199
1 changed files with 3 additions and 0 deletions
|
@ -583,6 +583,9 @@ formatLMI( const LastMoveInfo* lmi, XP_UCHAR* buf, XP_U16 len )
|
||||||
{
|
{
|
||||||
const XP_UCHAR* name = lmi->name;
|
const XP_UCHAR* name = lmi->name;
|
||||||
switch( lmi->moveType ) {
|
switch( lmi->moveType ) {
|
||||||
|
case ASSIGN_TYPE:
|
||||||
|
XP_SNPRINTF( buf, len, "Tiles assigned to %s", name );
|
||||||
|
break;
|
||||||
case MOVE_TYPE:
|
case MOVE_TYPE:
|
||||||
if ( 0 == lmi->nTiles ) {
|
if ( 0 == lmi->nTiles ) {
|
||||||
XP_SNPRINTF( buf, len, "%s passed", name );
|
XP_SNPRINTF( buf, len, "%s passed", name );
|
||||||
|
|
Loading…
Add table
Reference in a new issue