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
4254ddc8
Commit
4254ddc8
authored
Mar 18, 2011
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor change in cvpcb (better error message when a .cmp file is not found)
parent
21b75f39
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
build_version.cpp
common/build_version.cpp
+4
-1
savecmp.cpp
cvpcb/savecmp.cpp
+2
-1
No files found.
common/build_version.cpp
View file @
4254ddc8
...
@@ -9,9 +9,12 @@
...
@@ -9,9 +9,12 @@
#define KICAD_BUILD_VERSION "(2011-03-17)"
#define KICAD_BUILD_VERSION "(2011-03-17)"
#endif
#endif
// uncomment this line only when creating a stable version
//#define VERSION_STABILITY "stable"
//#define VERSION_STABILITY "stable"
#define VERSION_STABILITY "testing"
#ifndef VERSION_STABILITY
#define VERSION_STABILITY "testing"
#endif
/**
/**
* Function GetBuildVersion
* Function GetBuildVersion
...
...
cvpcb/savecmp.cpp
View file @
4254ddc8
...
@@ -82,8 +82,9 @@ bool CVPCB_MAINFRAME::LoadComponentFile( const wxString& fileName )
...
@@ -82,8 +82,9 @@ bool CVPCB_MAINFRAME::LoadComponentFile( const wxString& fileName )
source
=
wxFopen
(
fn
.
GetFullPath
(),
wxT
(
"rt"
)
);
source
=
wxFopen
(
fn
.
GetFullPath
(),
wxT
(
"rt"
)
);
if
(
source
==
NULL
)
if
(
source
==
NULL
)
{
{
msg
.
Printf
(
_
(
"Cannot open
component library
<%s>."
),
msg
.
Printf
(
_
(
"Cannot open
CvPcb component file
<%s>."
),
GetChars
(
fn
.
GetFullPath
()
)
);
GetChars
(
fn
.
GetFullPath
()
)
);
msg
<<
wxT
(
"
\n
"
)
<<
_
(
"This is normal if you are opening a new netlist file"
);
wxMessageBox
(
msg
,
titleComponentLibErr
,
wxOK
|
wxICON_ERROR
);
wxMessageBox
(
msg
,
titleComponentLibErr
,
wxOK
|
wxICON_ERROR
);
return
false
;
return
false
;
}
}
...
...
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