Author: gschneider
Date: Thu Apr 28 20:17:14 2011
New Revision: 51482
URL:
http://svn.reactos.org/svn/reactos?rev=51482&view=rev
Log:
[calc] Fix degree to radians conversion
See issue #3018 for more details.
Modified:
trunk/reactos/base/applications/calc/convert.c
Modified: trunk/reactos/base/applications/calc/convert.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/calc/con…
==============================================================================
--- trunk/reactos/base/applications/calc/convert.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/calc/convert.c [iso-8859-1] Thu Apr 28 20:17:14 2011
@@ -50,7 +50,7 @@
static const conv_t conv_ANGLE[] = {
DECLARE_CONV_UNIT(ANGLE, DEGREES, "$", "$")
DECLARE_CONV_UNIT(ANGLE, GRADIANS, "$*0.9", "$/0.9")
- DECLARE_CONV_UNIT(ANGLE, RADIANS, "$*180/P", "$*P/180")
+ DECLARE_CONV_UNIT(ANGLE, RADIANS, "$/P*180", "$*P/180")
DECLARE_CONV_END
};