[gcalctool] Add "yards" as a unit.
- From: Robin Sonefors <rsonefors src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcalctool] Add "yards" as a unit.
- Date: Tue, 19 Oct 2010 08:13:59 +0000 (UTC)
commit d3862a5309e00d312512e2396ab9546c36b86948
Author: Robin Sonefors <ozamosi flukkost nu>
Date: Tue Oct 19 10:11:37 2010 +0200
Add "yards" as a unit.
The gui conversion tool was already using the plural form, and since all
other units have plural forms, yard needed one as well.
src/mp-equation.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/mp-equation.c b/src/mp-equation.c
index 56acf22..d09c64e 100644
--- a/src/mp-equation.c
+++ b/src/mp-equation.c
@@ -311,6 +311,7 @@ convert(MPEquationParserState *state, const MPNumber *x, const char *x_units, co
{"meters", "1"},
{"m", "1"},
{"yard", "0.9144"},
+ {"yards", "0.9144"},
{"yd", "0.9144"},
{"foot", "0.3048"},
{"feet", "0.3048"},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]