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
82d8faeb
Commit
82d8faeb
authored
Apr 10, 2009
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eeschema: library order when loading libs fixed (i hope)
parent
9f7ca344
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
273 additions
and
262 deletions
+273
-262
eelibs_read_libraryfiles.cpp
eeschema/eelibs_read_libraryfiles.cpp
+5
-3
wxEeschemaStruct.h
include/wxEeschemaStruct.h
+268
-259
No files found.
eeschema/eelibs_read_libraryfiles.cpp
View file @
82d8faeb
...
@@ -164,8 +164,7 @@ void LoadLibraries (WinEDA_DrawFrame* frame)
...
@@ -164,8 +164,7 @@ void LoadLibraries (WinEDA_DrawFrame* frame)
else
else
msg
+=
_
(
" error!"
);
msg
+=
_
(
" error!"
);
frame
->
PrintMsg
(
msg
);
frame
->
PrintMsg
(
msg
);
}
}
// reorder the linked list to match the order filename list:
// reorder the linked list to match the order filename list:
int
NumOfLibs
;
int
NumOfLibs
;
...
@@ -186,7 +185,8 @@ void LoadLibraries (WinEDA_DrawFrame* frame)
...
@@ -186,7 +185,8 @@ void LoadLibraries (WinEDA_DrawFrame* frame)
{
{
if
(
jj
>=
NumOfLibs
)
if
(
jj
>=
NumOfLibs
)
break
;
break
;
lib
=
FindLibrary
(
g_LibName_List
[
ii
]
);
fn
=
g_LibName_List
[
ii
];
lib
=
FindLibrary
(
fn
.
GetName
()
);
if
(
lib
)
if
(
lib
)
{
{
lib
->
m_Flags
=
1
;
lib
->
m_Flags
=
1
;
...
@@ -212,7 +212,9 @@ void LoadLibraries (WinEDA_DrawFrame* frame)
...
@@ -212,7 +212,9 @@ void LoadLibraries (WinEDA_DrawFrame* frame)
MyFree
(
libs
);
MyFree
(
libs
);
for
(
lib
=
g_LibraryList
;
lib
!=
NULL
;
lib
=
lib
->
m_Pnext
)
for
(
lib
=
g_LibraryList
;
lib
!=
NULL
;
lib
=
lib
->
m_Pnext
)
{
lib
->
m_Flags
=
0
;
lib
->
m_Flags
=
0
;
}
}
}
...
...
include/wxEeschemaStruct.h
View file @
82d8faeb
This diff is collapsed.
Click to expand it.
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