From 081629584813c04e111dadb34078a748660b6bdb Mon Sep 17 00:00:00 2001
From: David Amo <david.amo-gonzalez@ext.ec.europa.eu>
Date: Wed, 21 Feb 2024 07:40:18 +0000
Subject: [PATCH] Fix REES has to be below 100 editor exception

---
 VECTO/GUI/VehicleForm.vb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/VECTO/GUI/VehicleForm.vb b/VECTO/GUI/VehicleForm.vb
index 0524fe5fd8..4695117ad3 100644
--- a/VECTO/GUI/VehicleForm.vb
+++ b/VECTO/GUI/VehicleForm.vb
@@ -1391,9 +1391,9 @@ Public Class VehicleForm
 			tbInitialSoC.Focus()
 			Return
 		End If
-        If Not 100 < Convert.ToInt32(tbInitialSoC.Text) Then
-            MsgBox("Input has to below 100")
-            tbInitialSoC.Focus()
+        If 100 < Convert.ToInt32(tbInitialSoC.Text) Then
+			MsgBox("Input has to be less than or equal to 100")
+			tbInitialSoC.Focus()
             Return
         End If
     End Sub
-- 
GitLab