mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-27 07:58:49 +01:00
Fix formatting (by way of playing with svn)
This commit is contained in:
parent
dcdab54fce
commit
d5a470bfb5
1 changed files with 51 additions and 54 deletions
|
@ -48,7 +48,6 @@ static XP_Bool
|
|||
frank_draw_boardBegin( DrawCtx* p_dctx, const DictionaryCtxt* dict,
|
||||
const XP_Rect* rect, XP_Bool hasfocus )
|
||||
{
|
||||
/* FrankDrawCtx* dctx = (FrankDrawCtx*)p_dctx; */
|
||||
return XP_TRUE;
|
||||
} /* draw_finish */
|
||||
|
||||
|
@ -387,7 +386,6 @@ frank_draw_score_pendingScore( DrawCtx* p_dctx, const XP_Rect* rect,
|
|||
strcpy( buf, "???" );
|
||||
}
|
||||
|
||||
|
||||
RECT r;
|
||||
XP_RectToRECT( &r, rect );
|
||||
eraseRect( dctx, &r );
|
||||
|
@ -565,8 +563,8 @@ frank_drawctxt_make( MPFORMAL CWindow* window )
|
|||
sizeof(FrankDrawCtx) );
|
||||
U16 i;
|
||||
|
||||
dctx->vtable = (DrawCtxVTable*)XP_MALLOC( mpool,
|
||||
sizeof(*(((FrankDrawCtx*)dctx)->vtable)) );
|
||||
dctx->vtable = (DrawCtxVTable*)
|
||||
XP_MALLOC( mpool, sizeof(*(((FrankDrawCtx*)dctx)->vtable)) );
|
||||
|
||||
for ( i = 0; i < sizeof(*dctx->vtable)/4; ++i ) {
|
||||
((void**)(dctx->vtable))[i] = draw_doNothing;
|
||||
|
@ -638,4 +636,3 @@ frank_drawctxt_make( MPFORMAL CWindow* window )
|
|||
#endif
|
||||
return (DrawCtx*)dctx;
|
||||
} /* frank_drawctxt_make */
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue