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
38a08f1f
Commit
38a08f1f
authored
Apr 22, 2008
by
dickelbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
delete hierarhical pin sheet bug
parent
4715ea28
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
11 deletions
+12
-11
class_schematic_items.cpp
eeschema/class_schematic_items.cpp
+1
-1
program.h
eeschema/program.h
+3
-2
sheetlab.cpp
eeschema/sheetlab.cpp
+8
-8
No files found.
eeschema/class_schematic_items.cpp
View file @
38a08f1f
...
...
@@ -273,7 +273,7 @@ bool DrawMarkerStruct::Save( FILE* aFile ) const
wxString
msg
;
if
(
fprintf
(
aFile
,
"Kmarq %c %-4d %-4d
\"
%s
\"
F=%X
\n
"
,
m_Type
+
'A'
,
int
(
m_Type
)
+
'A'
,
m_Pos
.
x
,
m_Pos
.
y
,
CONV_TO_UTF8
(
m_Comment
),
m_MarkFlags
)
==
EOF
)
{
...
...
eeschema/program.h
View file @
38a08f1f
...
...
@@ -33,13 +33,14 @@
#define BUS_TO_BUS 1
typedef
enum
{
/* Type des Marqueurs */
enum
TypeMarker
{
/* Type des Marqueurs */
MARQ_UNSPEC
,
MARQ_ERC
,
MARQ_PCB
,
MARQ_SIMUL
,
MARQ_NMAX
/* Derniere valeur: fin de tableau */
}
TypeMarker
;
};
/* Messages correspondants aux types des marqueurs */
#ifdef MAIN
...
...
eeschema/sheetlab.cpp
View file @
38a08f1f
...
...
@@ -433,20 +433,20 @@ void WinEDA_SchematicFrame::DeleteSheetLabel( wxDC* DC,
std::cout << "\n\n\n" << std::flush;
#endif
Hierarchical_PIN_Sheet_Struct
*
label
=
parent
->
m_Label
;
Hierarchical_PIN_Sheet_Struct
**
pprev
=
&
parent
->
m_Label
;
Hierarchical_PIN_Sheet_Struct
*
prev
=
NULL
;
while
(
label
)
Hierarchical_PIN_Sheet_Struct
*
label
=
parent
->
m_Label
;
for
(
;
label
;
prev
=
label
,
label
=
label
->
Next
()
)
{
if
(
label
==
SheetLabelToDel
)
{
*
pprev
=
label
->
Next
();
if
(
prev
)
prev
->
Pnext
=
label
->
Next
();
else
parent
->
m_Label
=
label
->
Next
();
break
;
}
pprev
=
(
Hierarchical_PIN_Sheet_Struct
**
)
&
label
->
Pnext
;
label
=
label
->
Next
();
}
delete
SheetLabelToDel
;
...
...
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