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
02b5b477
Commit
02b5b477
authored
Mar 02, 2013
by
Andrey Fedorushkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pcbnew: fix build in linux gcc-4.5.2
parent
e4f72171
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
kicad_plugin.cpp
pcbnew/kicad_plugin.cpp
+1
-1
legacy_plugin.cpp
pcbnew/legacy_plugin.cpp
+1
-1
No files found.
pcbnew/kicad_plugin.cpp
View file @
02b5b477
...
...
@@ -1303,7 +1303,7 @@ void PCB_IO::format( ZONE_CONTAINER* aZone, int aNestLevel ) const
// (perhaps netcode and netname should be not stored)
m_out
->
Print
(
aNestLevel
,
"(zone (net %d) (net_name %s)"
,
aZone
->
GetIsKeepout
()
?
0
:
aZone
->
GetNet
(),
m_out
->
Quotew
(
aZone
->
GetIsKeepout
()
?
""
:
aZone
->
GetNetName
()
).
c_str
()
);
m_out
->
Quotew
(
aZone
->
GetIsKeepout
()
?
wxT
(
""
)
:
aZone
->
GetNetName
()
).
c_str
()
);
formatLayer
(
aZone
);
...
...
pcbnew/legacy_plugin.cpp
View file @
02b5b477
...
...
@@ -3613,7 +3613,7 @@ void LEGACY_PLUGIN::saveZONE_CONTAINER( const ZONE_CONTAINER* me ) const
fprintf
(
m_fp
,
"ZInfo %lX %d %s
\n
"
,
me
->
GetTimeStamp
(),
me
->
GetIsKeepout
()
?
0
:
me
->
GetNet
(),
EscapedUTF8
(
me
->
GetIsKeepout
()
?
""
:
me
->
GetNetName
()
).
c_str
()
);
EscapedUTF8
(
me
->
GetIsKeepout
()
?
wxT
(
""
)
:
me
->
GetNetName
()
).
c_str
()
);
// Save the outline layer info
fprintf
(
m_fp
,
"ZLayer %d
\n
"
,
me
->
GetLayer
()
);
...
...
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