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