Skip to content

Commit

Permalink
fis for fix for spelling....
Browse files Browse the repository at this point in the history
  • Loading branch information
jriegel committed Dec 2, 2013
1 parent 9a23926 commit 958a14d
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/App/FreeCADInit.py
Expand Up @@ -173,7 +173,7 @@ def InitApplications():
App.Units.Foot = App.Units.Quantity('fo')
App.Units.Thou = App.Units.Quantity('th')
App.Units.Yard = App.Units.Quantity('yr')
App.Units.Mile = App.Units.Quantity('mile')
App.Units.Mile = App.Units.Quantity('mi')

App.Units.Pound = App.Units.Quantity('lb')
App.Units.Ounce = App.Units.Quantity('oz')
Expand All @@ -200,7 +200,7 @@ def InitApplications():
App.Units.VoltAmpereSecond = App.Units.Quantity('VAs')
App.Units.WattSecond = App.Units.Quantity('Ws')

App.Units.MPH = App.Units.Quantity('mile/h')
App.Units.MPH = App.Units.Quantity('mi/h')
App.Units.KMH = App.Units.Quantity('km/h')


Expand Down
2 changes: 1 addition & 1 deletion src/Base/Quantity.cpp
Expand Up @@ -163,7 +163,7 @@ Quantity Quantity::KiloGram (1.0 ,Unit(0,1));
Quantity Quantity::Ton (1.0e3 ,Unit(0,1));

Quantity Quantity::Second (1.0 ,Unit(0,0,1));
Quantity Quantity::Minut (60.0 ,Unit(0,0,1));
Quantity Quantity::Minute (60.0 ,Unit(0,0,1));
Quantity Quantity::Hour (3600.0 ,Unit(0,0,1));

Quantity Quantity::Ampere (1.0 ,Unit(0,0,0,1));
Expand Down
2 changes: 1 addition & 1 deletion src/Base/Quantity.h
Expand Up @@ -102,7 +102,7 @@ class BaseExport Quantity
static Quantity Ton;

static Quantity Second;
static Quantity Minut;
static Quantity Minute;
static Quantity Hour;

static Quantity Ampere;
Expand Down
2 changes: 1 addition & 1 deletion src/Base/QuantityLexer.c
Expand Up @@ -921,7 +921,7 @@ yylval = Quantity::Second; return UNIT; // second (internal
case 21:
YY_RULE_SETUP
#line 57 "QuantityParser.l"
yylval = Quantity::Minut; return UNIT; // minute
yylval = Quantity::Minute; return UNIT; // minute
YY_BREAK
case 22:
YY_RULE_SETUP
Expand Down
2 changes: 1 addition & 1 deletion src/Base/QuantityParser.l
Expand Up @@ -54,7 +54,7 @@ ID [a-z][a-z0-9]*
"t" yylval = Quantity::Ton; return UNIT; // Metric Tonne

"s" yylval = Quantity::Second; return UNIT; // second (internal standard time)
"min" yylval = Quantity::Minut; return UNIT; // minute
"min" yylval = Quantity::Minute; return UNIT; // minute
"h" yylval = Quantity::Hour; return UNIT; // hour

"A" yylval = Quantity::Ampere; return UNIT; // Ampere (internal standard electric current)
Expand Down

0 comments on commit 958a14d

Please sign in to comment.