mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-14 08:01:38 +01:00
provide default for rematch order
This commit is contained in:
parent
6473bc9f4c
commit
a5687d788b
1 changed files with 2 additions and 1 deletions
|
@ -133,7 +133,8 @@ public class RematchConfigView extends LinearLayout
|
|||
|
||||
boolean[] results = XwJNI.server_canOfferRematch( mWrapper.gamePtr() );
|
||||
if ( results[0] && results[1] ) {
|
||||
int ordinal = DBUtils.getIntFor( mContext, KEY_LAST_RO, 0 );
|
||||
int ordinal = DBUtils.getIntFor( mContext, KEY_LAST_RO,
|
||||
RematchOrder.RO_SAME.ordinal() );
|
||||
RematchOrder lastSel = RematchOrder.values()[ordinal];
|
||||
|
||||
for ( RematchOrder ro : RematchOrder.values() ) {
|
||||
|
|
Loading…
Reference in a new issue