mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-05 20:45:49 +01:00
save phony "new game" even if names not set
This commit is contained in:
parent
cf60be5082
commit
b2f0b91a23
1 changed files with 26 additions and 27 deletions
|
@ -1,3 +1,5 @@
|
|||
/* -*- compile-command: "cd ../../../../../; ant reinstall"; -*- */
|
||||
|
||||
/*
|
||||
* Copyright (C) 2007 The Android Open Source Project
|
||||
*
|
||||
|
@ -136,7 +138,6 @@ public class GameConfig extends Activity implements View.OnClickListener {
|
|||
text = et.getText();
|
||||
String name2 = text.toString();
|
||||
|
||||
if ( name1.length() > 0 && name2.length() > 0 ) {
|
||||
Integer num = 0;
|
||||
int ii;
|
||||
String[] files = fileList();
|
||||
|
@ -152,7 +153,6 @@ public class GameConfig extends Activity implements View.OnClickListener {
|
|||
}
|
||||
}
|
||||
}
|
||||
Utils.logf( "using name " + name );
|
||||
|
||||
FileOutputStream out;
|
||||
try {
|
||||
|
@ -169,7 +169,6 @@ public class GameConfig extends Activity implements View.OnClickListener {
|
|||
} catch ( java.io.FileNotFoundException ex ) {
|
||||
Utils.logf( "got FileNotFoundException: " + ex.toString() );
|
||||
}
|
||||
}
|
||||
|
||||
setResult( 1 );
|
||||
finish();
|
||||
|
|
Loading…
Add table
Reference in a new issue