mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-11-16 07:48:07 +01:00
fix incorrect signature that was causing all scores to be drawn as 0.
This commit is contained in:
parent
cfa1a42fcd
commit
c2297590eb
1 changed files with 2 additions and 2 deletions
|
@ -566,7 +566,6 @@ ce_draw_measureScoreText( DrawCtx* p_dctx, XP_Rect* r,
|
|||
|
||||
static void
|
||||
ce_draw_score_drawPlayer( DrawCtx* p_dctx,
|
||||
XP_S16 playerNum, /* -1: don't use */
|
||||
XP_Rect* rInner, XP_Rect* rOuter,
|
||||
DrawScoreInfo* dsi )
|
||||
{
|
||||
|
@ -587,7 +586,8 @@ ce_draw_score_drawPlayer( DrawCtx* p_dctx,
|
|||
}
|
||||
oldFont = SelectObject( hdc, newFont );
|
||||
|
||||
SetTextColor( hdc, dctx->globals->appPrefs.colors[getPlayerColor(playerNum)] );
|
||||
SetTextColor( hdc, dctx->globals->
|
||||
appPrefs.colors[getPlayerColor(dsi->playerNum)] );
|
||||
|
||||
ceWidthAndText( hdc, scoreBuf, dsi, &width, &height );
|
||||
DrawText( hdc, scoreBuf, -1, &rt,
|
||||
|
|
Loading…
Reference in a new issue