summaryrefslogtreecommitdiffstats
path: root/kicker-applets/math/parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kicker-applets/math/parser.cpp')
-rw-r--r--kicker-applets/math/parser.cpp4
1 files changed, 2 insertions, 2 deletions
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;