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
c6743148
Commit
c6743148
authored
Oct 14, 2013
by
Wayne Stambaugh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix bug when creating initial global footprint library table on Windows.
parent
afd6f292
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
fp_lib_table.cpp
common/fp_lib_table.cpp
+6
-0
No files found.
common/fp_lib_table.cpp
View file @
c6743148
...
@@ -772,6 +772,12 @@ bool FP_LIB_TABLE::LoadGlobalTable( FP_LIB_TABLE& aTable ) throw (IO_ERROR, PARS
...
@@ -772,6 +772,12 @@ bool FP_LIB_TABLE::LoadGlobalTable( FP_LIB_TABLE& aTable ) throw (IO_ERROR, PARS
{
{
tableExists
=
false
;
tableExists
=
false
;
if
(
!
fn
.
DirExists
()
&&
!
fn
.
Mkdir
(
0x777
,
wxPATH_MKDIR_FULL
)
)
{
THROW_IO_ERROR
(
wxString
::
Format
(
_
(
"Cannot create global library table path <%s>."
),
GetChars
(
fn
.
GetPath
()
)
)
);
}
// Attempt to copy the default global file table from the KiCad template folder to
// Attempt to copy the default global file table from the KiCad template folder to
// the users home configuration path.
// the users home configuration path.
wxString
fileName
(
wxT
(
"fp_global_table"
)
);
wxString
fileName
(
wxT
(
"fp_global_table"
)
);
...
...
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