[chronojump] Minor change



commit 54a4ae283dfd651c156313b22692c9c81ffca658
Author: Xavier de Blas <xaviblas gmail com>
Date:   Fri Mar 16 17:01:18 2018 +0100

    Minor change

 src/chronojump.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/chronojump.cs b/src/chronojump.cs
index bafd54e..d2c7de2 100644
--- a/src/chronojump.cs
+++ b/src/chronojump.cs
@@ -175,9 +175,9 @@ public class ChronoJump
                         * We need here! to define the language from the beginning
                         * so we use language = "" if version is prior to 1.25
                         */
-                       string currentVersion = SqlitePreferences.Select("databaseVersion", false);
-                       double currentVersionDouble = 
Convert.ToDouble(Util.ChangeDecimalSeparator(currentVersion));
-                       if(currentVersionDouble < Convert.ToDouble(Util.ChangeDecimalSeparator("1.25")))
+                       string currentDBVersion = SqlitePreferences.Select("databaseVersion", false);
+                       double currentDBVersionDouble = 
Convert.ToDouble(Util.ChangeDecimalSeparator(currentDBVersion));
+                       if(currentDBVersionDouble < Convert.ToDouble(Util.ChangeDecimalSeparator("1.25")))
                                language = "";
                        else
                                language = SqlitePreferences.Select("language", false);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]