somehow dict deletion got broken (because wasn't adding file

extention); fix.
This commit is contained in:
Andy2 2011-08-21 15:02:42 -07:00
parent d1b6bc16cf
commit bbb73bb2e9

View file

@ -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 );