mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-30 08:34:16 +01:00
add assert
This commit is contained in:
parent
1e447e9d60
commit
f5cc23f591
1 changed files with 2 additions and 1 deletions
|
@ -883,8 +883,9 @@ and_dutil_notifyPause( XW_DUtilCtxt* duc, XWEnv xwe, XP_U32 gameID, DupPauseType
|
|||
static XP_Bool
|
||||
and_dutil_haveGame( XW_DUtilCtxt* duc, XWEnv xwe, XP_U32 gameID, XP_U8 channel )
|
||||
{
|
||||
XP_Bool result;
|
||||
XP_Bool result = XP_FALSE;
|
||||
DUTIL_CBK_HEADER( "haveGame", "(II)Z" );
|
||||
XP_ASSERT( !!dutil->jdutil ); /* returning false by default a problem */
|
||||
result = (*env)->CallBooleanMethod( env, dutil->jdutil, mid, gameID, channel );
|
||||
DUTIL_CBK_TAIL();
|
||||
return result;
|
||||
|
|
Loading…
Add table
Reference in a new issue