From 646303f7b8b3739f5170f012fa116d55de75aee7 Mon Sep 17 00:00:00 2001 From: pelya Date: Fri, 30 Nov 2012 22:35:49 +0200 Subject: [PATCH] Remove files and SD config also when app version is older --- project/java/Settings.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/java/Settings.java b/project/java/Settings.java index 0b1f25bfd..778490273 100644 --- a/project/java/Settings.java +++ b/project/java/Settings.java @@ -300,7 +300,7 @@ class Settings Globals.TouchscreenKeyboardDrawSize = settingsFile.readInt(); int cfgVersion = settingsFile.readInt(); System.out.println("libSDL: old cfg version " + cfgVersion + ", our version " + p.getApplicationVersion()); - if( cfgVersion < p.getApplicationVersion() ) + if( cfgVersion != p.getApplicationVersion() ) { DeleteFilesOnUpgrade(); if( Globals.ResetSdlConfigForThisVersion )