mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-18 22:26:30 +01:00
fix flip
This commit is contained in:
parent
598be04bef
commit
b96c9cc438
1 changed files with 5 additions and 1 deletions
|
@ -1060,7 +1060,11 @@ static bool
|
|||
handleFlip( void* closure, int XP_UNUSED(key) )
|
||||
{
|
||||
CursesBoardGlobals* bGlobals = (CursesBoardGlobals*)closure;
|
||||
bGlobals->doDraw = board_flip( bGlobals->cGlobals.game.board );
|
||||
CommonGlobals* cGlobals = &bGlobals->cGlobals;
|
||||
if ( board_flip( cGlobals->game.board ) ) {
|
||||
board_draw( cGlobals->game.board );
|
||||
}
|
||||
|
||||
return XP_TRUE;
|
||||
} /* handleFlip */
|
||||
|
||||
|
|
Loading…
Reference in a new issue