From bfa3f786bad953f5dfba94ae4ad7e9c6f3b02ca0 Mon Sep 17 00:00:00 2001 From: Alberto Griggio Date: Mon, 8 Jan 2018 23:27:22 +0100 Subject: [PATCH] replace M_PI with rtengine::RT_PI --- rtgui/colortoning.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rtgui/colortoning.cc b/rtgui/colortoning.cc index 8a0ec75c2..24193be97 100644 --- a/rtgui/colortoning.cc +++ b/rtgui/colortoning.cc @@ -145,17 +145,17 @@ public: cr->set_source_rgb(0.1, 0.1, 0.1); if (selected_ == LOW) { - cr->arc(loa, lob, 5, 0, 2. * M_PI); + cr->arc(loa, lob, 5, 0, 2. * rtengine::RT_PI); } else { - cr->arc(loa, lob, 3, 0, 2. * M_PI); + cr->arc(loa, lob, 3, 0, 2. * rtengine::RT_PI); } cr->fill(); cr->set_source_rgb(0.9, 0.9, 0.9); if (selected_ == HIGH) { - cr->arc(hia, hib, 5, 0, 2. * M_PI); + cr->arc(hia, hib, 5, 0, 2. * rtengine::RT_PI); } else { - cr->arc(hia, hib, 3, 0, 2. * M_PI); + cr->arc(hia, hib, 3, 0, 2. * rtengine::RT_PI); } cr->fill();