From b8e7cd411fdef207942671f9c6e6c3130a32e5e9 Mon Sep 17 00:00:00 2001 From: ehouse Date: Thu, 19 Nov 2009 02:26:38 +0000 Subject: [PATCH] fix to use new API. (this and prev checkin via terminal app on phone :-) --- xwords4/linux/cursesdraw.c | 2 ++ xwords4/linux/gtkdraw.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/xwords4/linux/cursesdraw.c b/xwords4/linux/cursesdraw.c index 6f8248cfa..76de19ba8 100644 --- a/xwords4/linux/cursesdraw.c +++ b/xwords4/linux/cursesdraw.c @@ -111,6 +111,8 @@ curses_draw_trayBegin( DrawCtx* XP_UNUSED(p_dctx), static void curses_draw_scoreBegin( DrawCtx* p_dctx, const XP_Rect* rect, XP_U16 XP_UNUSED(numPlayers), + const XP_S16* const XP_UNUSED(scores), + XP_S16 XP_UNUSED(remCount), DrawFocusState XP_UNUSED(dfs) ) { CursesDrawCtx* dctx = (CursesDrawCtx*)p_dctx; diff --git a/xwords4/linux/gtkdraw.c b/xwords4/linux/gtkdraw.c index fbef68d01..2736cac72 100644 --- a/xwords4/linux/gtkdraw.c +++ b/xwords4/linux/gtkdraw.c @@ -701,7 +701,8 @@ gtk_draw_drawBoardArrow( DrawCtx* p_dctx, const XP_Rect* rectP, static void gtk_draw_scoreBegin( DrawCtx* p_dctx, const XP_Rect* rect, XP_U16 XP_UNUSED(numPlayers), - DrawFocusState dfs ) + const XP_S16* const XP_UNUSED(scores), + XP_S16 XP_UNUSED(remCount), DrawFocusState dfs ) { GtkDrawCtx* dctx = (GtkDrawCtx*)p_dctx;