[gcalctool/gnome-2-32] Ounces were one order of magnitude off. Fix.



commit eaf714c5be91d853181788247a6211517f5917d4
Author: Robin Sonefors <ozamosi flukkost nu>
Date:   Mon Oct 11 15:19:20 2010 +0200

    Ounces were one order of magnitude off. Fix.

 src/mp-equation.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/mp-equation.c b/src/mp-equation.c
index 34f698b..a90d501 100644
--- a/src/mp-equation.c
+++ b/src/mp-equation.c
@@ -365,9 +365,9 @@ convert(MPEquationParserState *state, const MPNumber *x, const char *x_units, co
         {"pound",               "0.45359237"},
         {"pounds",              "0.45359237"},
         {"lb",                  "0.45359237"},
-        {"ounce",               "0.002834952"},
-        {"ounces",              "0.002834952"},
-        {"oz",                  "0.002834952"},
+        {"ounce",               "0.02834952"},
+        {"ounces",              "0.02834952"},
+        {"oz",                  "0.02834952"},
         {"gram",                "0.001"},
         {"grams",               "0.001"},
         {"gramme",              "0.001"},



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]