From 87b08c9be742140ec0d6ef982f27533917d57b6f Mon Sep 17 00:00:00 2001 From: Daryl Borth Date: Sat, 10 Dec 2016 13:57:09 -0700 Subject: [PATCH] don't reset settings when going back to an older version --- source/preferences.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/source/preferences.cpp b/source/preferences.cpp index ef1874a..5dcf121 100644 --- a/source/preferences.cpp +++ b/source/preferences.cpp @@ -283,9 +283,6 @@ decodePrefsData () result = false; else if(verMajor < 3) // less than version 3.0.0 result = false; // reset settings - else if((verMajor*100 + verMinor*10 + verPoint) > - (curMajor*100 + curMinor*10 + curPoint)) // some future version - result = false; // reset settings else result = true; } @@ -598,4 +595,4 @@ bool LoadPrefs() ResetText(); return prefFound; -} \ No newline at end of file +}