From 94c2a187b7b28e1d8416da6f3669bec481e38c5f Mon Sep 17 00:00:00 2001 From: Bob Long Date: Wed, 16 Oct 2024 23:29:39 +1100 Subject: [PATCH] paramcompare: remove double inequality check --- Controls/paramcompare.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Controls/paramcompare.cs b/Controls/paramcompare.cs index 934eb1067e..c6f0389f6e 100644 --- a/Controls/paramcompare.cs +++ b/Controls/paramcompare.cs @@ -41,7 +41,7 @@ void processToScreen() if (param.ContainsKey(value) && param2.ContainsKey(value)) { // check double != double - if (param[value] != param2[value]) + if (param[value].ToString() != param2[value].ToString()) // this will throw is there is no matching key { Console.WriteLine("{0} {1} vs {2}", value, param[value], param2[value]);