diff --git a/src/preferences/time/AnalogClock.cpp b/src/preferences/time/AnalogClock.cpp index 5982b86760..8524dd0b8a 100644 --- a/src/preferences/time/AnalogClock.cpp +++ b/src/preferences/time/AnalogClock.cpp @@ -294,7 +294,7 @@ OffscreenClock::_InHand(BPoint point, int32 ticks, float radius) float pointPhi = _GetPhi(point); float handPhi = PI / 30.0 * ticks; float delta = pointPhi - handPhi; - if (abs(delta) > DRAG_DELTA_PHI) + if (fabs(delta) > DRAG_DELTA_PHI) return false; return true;