From 4b1a039acbb744429239041c34ea8429e14e3d0b Mon Sep 17 00:00:00 2001
From: Guy Scharf <guy.oscar@moxis.com>
Date: Thu, 7 Oct 2021 14:15:04 -0700
Subject: [PATCH] Fix minor error on Welcome page

---
 oscar/welcome.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/oscar/welcome.cpp b/oscar/welcome.cpp
index fb9f2cf4..ee640afe 100644
--- a/oscar/welcome.cpp
+++ b/oscar/welcome.cpp
@@ -308,7 +308,7 @@ QString Welcome::GenerateCPAPHTML()
                 comp = under;
             } else if ((leak > leakdays) && ((leak - leakdays) >= 0.1)) {
                 comp = over;
-            } else if ((fabs(ahi > ahidays) >= 0.01) ) {
+            } else if ((fabs(leak - leakdays) >= 0.01) ) {
                 comp = close;
             } else {
                 comp = equal;