check and flip before hiliting cells. Fixes bug with feedback on hint

search on flipped board.
This commit is contained in:
ehouse 2007-01-23 04:09:26 +00:00
parent acb7f0c261
commit b9e31acf6e

View file

@ -681,6 +681,7 @@ board_hiliteCellAt( BoardCtxt* board, XP_U16 col, XP_U16 row )
{
XP_Rect cellRect;
flipIf( board, col, row, &col, &row );
if ( getCellRect( board, col, row, &cellRect ) ) {
draw_invertCell( board->draw, &cellRect );
invalCell( board, col, row );