draw_boardBegin returns bool now

This commit is contained in:
ehouse 2004-02-17 03:58:40 +00:00
parent b447decb78
commit f684ec9461

View file

@ -56,7 +56,7 @@ curses_draw_destroyCtxt( DrawCtx* p_dctx )
// CursesDrawCtx* dctx = (CursesDrawCtx*)p_dctx; // CursesDrawCtx* dctx = (CursesDrawCtx*)p_dctx;
} /* draw_setup */ } /* draw_setup */
static void static XP_Bool
curses_draw_boardBegin( DrawCtx* p_dctx, XP_Rect* rect, XP_Bool hasfocus ) curses_draw_boardBegin( DrawCtx* p_dctx, XP_Rect* rect, XP_Bool hasfocus )
{ {
CursesDrawCtx* dctx = (CursesDrawCtx*)p_dctx; CursesDrawCtx* dctx = (CursesDrawCtx*)p_dctx;
@ -65,6 +65,7 @@ curses_draw_boardBegin( DrawCtx* p_dctx, XP_Rect* rect, XP_Bool hasfocus )
} else { } else {
drawRect( dctx->boardWin, rect, '|', '-' ); drawRect( dctx->boardWin, rect, '|', '-' );
} }
return XP_TRUE;
} /* draw_finish */ } /* draw_finish */
static void static void