From f76f18e3ca4df01d39e4fa444f5de77f2bee4578 Mon Sep 17 00:00:00 2001 From: ehouse Date: Tue, 17 Feb 2004 03:58:40 +0000 Subject: [PATCH] draw_boardBegin returns bool now --- linux/cursesdraw.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/linux/cursesdraw.c b/linux/cursesdraw.c index a0953823f..a3a57109f 100644 --- a/linux/cursesdraw.c +++ b/linux/cursesdraw.c @@ -56,7 +56,7 @@ curses_draw_destroyCtxt( DrawCtx* p_dctx ) // CursesDrawCtx* dctx = (CursesDrawCtx*)p_dctx; } /* draw_setup */ -static void +static XP_Bool curses_draw_boardBegin( DrawCtx* p_dctx, XP_Rect* rect, XP_Bool hasfocus ) { CursesDrawCtx* dctx = (CursesDrawCtx*)p_dctx; @@ -65,6 +65,7 @@ curses_draw_boardBegin( DrawCtx* p_dctx, XP_Rect* rect, XP_Bool hasfocus ) } else { drawRect( dctx->boardWin, rect, '|', '-' ); } + return XP_TRUE; } /* draw_finish */ static void