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
54e221cf
Commit
54e221cf
authored
Feb 09, 2012
by
Dick Hollenbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix portion of bug 928330 mentioned in comment #2
parent
b90d657c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
ioascii.cpp
pcbnew/ioascii.cpp
+1
-1
kicad_plugin.cpp
pcbnew/kicad_plugin.cpp
+2
-2
No files found.
pcbnew/ioascii.cpp
View file @
54e221cf
...
...
@@ -1101,7 +1101,7 @@ int PCB_EDIT_FRAME::ReadPcbFile( LINE_READER* aReader, bool Append )
continue
;
}
if
(
TESTLINE
(
"PCB_TARGET"
)
)
if
(
TESTLINE
(
"PCB_TARGET"
)
||
TESTLINE
(
"MIREPCB"
)
)
{
PCB_TARGET
*
t
=
new
PCB_TARGET
(
board
);
board
->
Add
(
t
,
ADD_APPEND
);
...
...
pcbnew/kicad_plugin.cpp
View file @
54e221cf
...
...
@@ -256,7 +256,7 @@ void KICAD_PLUGIN::loadAllSections( bool doAppend )
loadDIMENSION
();
}
else
if
(
TESTLINE
(
"$PCB_TARGET"
)
)
else
if
(
TESTLINE
(
"$PCB_TARGET"
)
||
TESTLINE
(
"$MIREPCB"
)
)
{
loadPCB_TARGET
();
}
...
...
@@ -2459,7 +2459,7 @@ void KICAD_PLUGIN::loadPCB_TARGET()
const
char
*
data
;
char
*
line
=
m_reader
->
Line
();
if
(
TESTLINE
(
"$EndPCB_TARGET"
)
)
if
(
TESTLINE
(
"$EndPCB_TARGET"
)
||
TESTLINE
(
"$EndMIREPCB"
)
)
{
return
;
// preferred exit
}
...
...
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