From a40b1ca8095d92cbe5876207558663dcab6d1de2 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 5 Apr 2025 12:06:15 +0900 Subject: Replace TRUE/FALSE with boolean values true/false Signed-off-by: Michele Calgaro --- kicker-applets/math/parser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kicker-applets/math/parser.cpp') diff --git a/kicker-applets/math/parser.cpp b/kicker-applets/math/parser.cpp index 6dc928b..6b65b53 100644 --- a/kicker-applets/math/parser.cpp +++ b/kicker-applets/math/parser.cpp @@ -125,8 +125,8 @@ Parser::Ufkt::~Ufkt() } -void Parser::setAngleMode(int angle) -{ if(angle==0) +void Parser::setAngleMode(bool angle) +{ if (!angle) m_anglemode = 1; else m_anglemode = M_PI/180; -- cgit v1.2.3