don't reset settings when going back to an older version

This commit is contained in:
Daryl Borth 2016-12-10 13:57:09 -07:00
parent 390981e48f
commit 87b08c9be7

View File

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