mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-28 07:58:08 +01:00
implement stubbed-out util_phoneNumbersSame so that three-device SMS
games work in emulator. May need to call into java to use Android's more sophisticated phone number comparison to work on devices.
This commit is contained in:
parent
60c3a5bf64
commit
867e9ffc2f
1 changed files with 7 additions and 2 deletions
|
@ -460,8 +460,13 @@ static XP_Bool
|
|||
and_util_phoneNumbersSame( XW_UtilCtxt* uc, const XP_UCHAR* p1,
|
||||
const XP_UCHAR* p2 )
|
||||
{
|
||||
XP_LOGF( "%s(%s,%s)", __func__, p1, p2 );
|
||||
return XP_TRUE;
|
||||
XP_Bool same = 0 == strcmp( p1, p2 );
|
||||
if ( !same ) {
|
||||
/* If they're same, fine, but if not probably need to call into
|
||||
platform code for a closer look */
|
||||
XP_LOGF( "%s(%s,%s)=>%d", __func__, p1, p2, same );
|
||||
}
|
||||
return same;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue