Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
bbae5ae5
Commit
bbae5ae5
authored
Mar 26, 2010
by
vovanium
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Corrected weird inch to mm ratio
parent
ed3dbe8b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
common.cpp
common/common.cpp
+2
-2
No files found.
common/common.cpp
View file @
bbae5ae5
...
...
@@ -458,7 +458,7 @@ double To_User_Unit( bool is_metric, double val, int internal_unit_value )
double
value
;
if
(
is_metric
)
value
=
val
*
25.4
000508001016
/
internal_unit_value
;
value
=
val
*
25.4
/
internal_unit_value
;
else
value
=
val
/
internal_unit_value
;
...
...
@@ -474,7 +474,7 @@ int From_User_Unit( bool is_metric, double val, int internal_unit_value )
double
value
;
if
(
is_metric
)
value
=
val
*
internal_unit_value
/
25.4
000508001016
;
value
=
val
*
internal_unit_value
/
25.4
;
else
value
=
val
*
internal_unit_value
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment