diff --git a/scwx-qt/source/scwx/qt/util/geographic_lib.cpp b/scwx-qt/source/scwx/qt/util/geographic_lib.cpp index 1736f6a2..8582d21c 100644 --- a/scwx-qt/source/scwx/qt/util/geographic_lib.cpp +++ b/scwx-qt/source/scwx/qt/util/geographic_lib.cpp @@ -30,7 +30,7 @@ bool AreaContainsPoint(const std::vector& area, const common::Coordinate& point) { // Cannot have an area with just two points - if (area.size() <= 2 || area.size() == 3 && area.front() == area.back()) + if (area.size() <= 2 || (area.size() == 3 && area.front() == area.back())) { return false; }