mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
somehow dict deletion got broken (because wasn't adding file
extention); fix.
This commit is contained in:
parent
d1b6bc16cf
commit
bbb73bb2e9
1 changed files with 3 additions and 1 deletions
|
@ -678,6 +678,7 @@ public class GameUtils {
|
|||
|
||||
public static void deleteDict( Context context, String name )
|
||||
{
|
||||
name = addDictExtn( name );
|
||||
deleteDict( context, name, getDictLoc( context, name ) );
|
||||
}
|
||||
|
||||
|
@ -798,7 +799,8 @@ public class GameUtils {
|
|||
fos.close();
|
||||
success = true;
|
||||
} catch ( java.io.FileNotFoundException fnf ) {
|
||||
Utils.logf( "saveDict: FileNotFoundException: %s", fnf.toString() );
|
||||
Utils.logf( "saveDict: FileNotFoundException: %s",
|
||||
fnf.toString() );
|
||||
} catch ( java.io.IOException ioe ) {
|
||||
Utils.logf( "saveDict: IOException: %s", ioe.toString() );
|
||||
deleteDict( context, name );
|
||||
|
|
Loading…
Reference in a new issue