Diff of /SQLite.Designer/Design/Unique.cs [d935ac] .. [a235fd]  Maximize  Restore

  Switch to side-by-side view

--- a/SQLite.Designer/Design/Unique.cs
+++ b/SQLite.Designer/Design/Unique.cs
@@ -13,6 +13,7 @@
   using System.ComponentModel;
   using System.Data;
   using System.Data.Common;
+  using System.Globalization;
 
   [TypeConverter(typeof(ExpandableObjectConverter))]
   [DefaultProperty("Enabled")]
@@ -93,9 +94,9 @@
     public override string ToString()
     {
       if (_isUnique == false)
-        return Convert.ToString(false);
+        return Convert.ToString(false, CultureInfo.InvariantCulture);
       else
-        return String.Format("{0} ({1})", Convert.ToString(true), Convert.ToString(Conflict));
+        return String.Format(CultureInfo.InvariantCulture, "{0} ({1})", Convert.ToString(true, CultureInfo.InvariantCulture), Convert.ToString(Conflict, CultureInfo.InvariantCulture));
         //return Convert.ToString(true);
     }
   }

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks