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;