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
16957670
Commit
16957670
authored
Nov 16, 2011
by
Dick Hollenbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix compiler warning
parent
38553be4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
muonde.cpp
pcbnew/muonde.cpp
+2
-2
No files found.
pcbnew/muonde.cpp
View file @
16957670
...
...
@@ -930,7 +930,7 @@ MODULE* PCB_EDIT_FRAME::Create_MuWavePolygonShape()
wxString
cmp_name
;
int
pad_count
=
2
;
EDGE_MODULE
*
edge
;
int
ii
,
npoints
;
int
npoints
;
WinEDA_SetParamShapeFrame
*
frame
=
new
WinEDA_SetParamShapeFrame
(
this
,
wxPoint
(
-
1
,
-
1
)
);
...
...
@@ -991,7 +991,7 @@ MODULE* PCB_EDIT_FRAME::Create_MuWavePolygonShape()
wxPoint
first_coordinate
,
last_coordinate
;
for
(
ii
=
0
;
ii
<
PolyEdges
.
size
();
ii
++
)
// Copy points
for
(
unsigned
ii
=
0
;
ii
<
PolyEdges
.
size
();
ii
++
)
// Copy points
{
last_coordinate
.
x
=
wxRound
(
PolyEdges
[
ii
]
*
ShapeScaleX
)
+
TO_LEGACY_LU
(
pad1
->
m_Pos0
.
x
);
last_coordinate
.
y
=
-
wxRound
(
PolyEdges
[
ii
]
*
ShapeScaleY
);
...
...
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