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
80715622
Commit
80715622
authored
Jul 13, 2010
by
Andrey Fedorushkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix conflict variable name for russian GOST
parent
dba4a692
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
common.cpp
common/common.cpp
+4
-4
common.h
include/common.h
+4
-4
No files found.
common/common.cpp
View file @
80715622
...
...
@@ -211,10 +211,10 @@ Ki_PageDescr::Ki_PageDescr( const wxSize& size,
// Adjust the default value for margins to 400 mils (0,4 inch or 10 mm)
#if defined(KICAD_GOST)
m_LeftMargin
=
LEFTMARGIN
;
m_RightMargin
=
RIGHTMARGIN
;
m_TopMargin
=
TOPMARGIN
;
m_BottomMargin
=
BOTTOMMARGIN
;
m_LeftMargin
=
GOST_
LEFTMARGIN
;
m_RightMargin
=
GOST_
RIGHTMARGIN
;
m_TopMargin
=
GOST_
TOPMARGIN
;
m_BottomMargin
=
GOST_
BOTTOMMARGIN
;
#else
m_LeftMargin
=
m_RightMargin
=
m_TopMargin
=
m_BottomMargin
=
400
;
#endif
...
...
include/common.h
View file @
80715622
...
...
@@ -84,10 +84,10 @@ enum UserUnitType {
};
#if defined(KICAD_GOST)
#define LEFTMARGIN 800
/* 20mm */
#define RIGHTMARGIN 200
/* 5mm */
#define TOPMARGIN 200
/* 5mm */
#define BOTTOMMARGIN 200
/* 5mm */
#define
GOST_
LEFTMARGIN 800
/* 20mm */
#define
GOST_
RIGHTMARGIN 200
/* 5mm */
#define
GOST_
TOPMARGIN 200
/* 5mm */
#define
GOST_
BOTTOMMARGIN 200
/* 5mm */
#endif
/* forward declarations: */
...
...
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