Fix formatting (by way of playing with svn)

This commit is contained in:
ehouse 2006-04-01 16:54:40 +00:00
parent dcdab54fce
commit d5a470bfb5

View file

@ -48,7 +48,6 @@ static XP_Bool
frank_draw_boardBegin( DrawCtx* p_dctx, const DictionaryCtxt* dict, frank_draw_boardBegin( DrawCtx* p_dctx, const DictionaryCtxt* dict,
const XP_Rect* rect, XP_Bool hasfocus ) const XP_Rect* rect, XP_Bool hasfocus )
{ {
/* FrankDrawCtx* dctx = (FrankDrawCtx*)p_dctx; */
return XP_TRUE; return XP_TRUE;
} /* draw_finish */ } /* draw_finish */
@ -387,7 +386,6 @@ frank_draw_score_pendingScore( DrawCtx* p_dctx, const XP_Rect* rect,
strcpy( buf, "???" ); strcpy( buf, "???" );
} }
RECT r; RECT r;
XP_RectToRECT( &r, rect ); XP_RectToRECT( &r, rect );
eraseRect( dctx, &r ); eraseRect( dctx, &r );
@ -565,8 +563,8 @@ frank_drawctxt_make( MPFORMAL CWindow* window )
sizeof(FrankDrawCtx) ); sizeof(FrankDrawCtx) );
U16 i; U16 i;
dctx->vtable = (DrawCtxVTable*)XP_MALLOC( mpool, dctx->vtable = (DrawCtxVTable*)
sizeof(*(((FrankDrawCtx*)dctx)->vtable)) ); XP_MALLOC( mpool, sizeof(*(((FrankDrawCtx*)dctx)->vtable)) );
for ( i = 0; i < sizeof(*dctx->vtable)/4; ++i ) { for ( i = 0; i < sizeof(*dctx->vtable)/4; ++i ) {
((void**)(dctx->vtable))[i] = draw_doNothing; ((void**)(dctx->vtable))[i] = draw_doNothing;
@ -638,4 +636,3 @@ frank_drawctxt_make( MPFORMAL CWindow* window )
#endif #endif
return (DrawCtx*)dctx; return (DrawCtx*)dctx;
} /* frank_drawctxt_make */ } /* frank_drawctxt_make */