fix reverse-highlighting of cells

This commit is contained in:
ehouse 2004-03-01 02:31:25 +00:00
parent 45d651e091
commit 1550aefc06

View file

@ -151,9 +151,14 @@ palm_clr_draw_drawCell( DrawCtx* p_dctx, XP_Rect* rect,
color = dctx->drawingPrefs->drawColors[index];
WinSetBackColor( color );
index = (owner >= 0)? COLOR_PLAYER1 + owner: COLOR_BLACK;
color = dctx->drawingPrefs->drawColors[index];
if ( !!letters ) {
if ( (owner >= 0) && !isPending ) {
index = COLOR_PLAYER1 + owner;
} else {
index = COLOR_BLACK;
}
color = dctx->drawingPrefs->drawColors[index];
WinSetTextColor( color );
}