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
2229b5ff
Commit
2229b5ff
authored
Oct 26, 2013
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo
parent
6a9ed328
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
readwrite_dlgs.cpp
cvpcb/readwrite_dlgs.cpp
+2
-2
files.cpp
pcbnew/files.cpp
+2
-2
No files found.
cvpcb/readwrite_dlgs.cpp
View file @
2229b5ff
...
@@ -281,7 +281,7 @@ int CVPCB_MAINFRAME::SaveCmpLinkFile( const wxString& aFullFileName )
...
@@ -281,7 +281,7 @@ int CVPCB_MAINFRAME::SaveCmpLinkFile( const wxString& aFullFileName )
fpLibFileName
.
SetName
(
FP_LIB_TABLE
::
GetFileName
()
);
fpLibFileName
.
SetName
(
FP_LIB_TABLE
::
GetFileName
()
);
if
(
fpLibFileName
.
FileExists
()
if
(
fpLibFileName
.
FileExists
()
&&
IsOK
(
this
,
_
(
"A footprint library table already ex
sist
in this path.
\n\n
Do "
&&
IsOK
(
this
,
_
(
"A footprint library table already ex
ists
in this path.
\n\n
Do "
"you want to overwrite it?"
)
)
)
"you want to overwrite it?"
)
)
)
{
{
try
try
...
@@ -292,7 +292,7 @@ int CVPCB_MAINFRAME::SaveCmpLinkFile( const wxString& aFullFileName )
...
@@ -292,7 +292,7 @@ int CVPCB_MAINFRAME::SaveCmpLinkFile( const wxString& aFullFileName )
{
{
DisplayError
(
this
,
DisplayError
(
this
,
wxString
::
Format
(
_
(
"An error occurred attempting to save the "
wxString
::
Format
(
_
(
"An error occurred attempting to save the "
"footp
ir
nt library table <%s>
\n\n
%s"
),
"footp
ri
nt library table <%s>
\n\n
%s"
),
GetChars
(
fpLibFileName
.
GetFullPath
()
),
GetChars
(
fpLibFileName
.
GetFullPath
()
),
GetChars
(
ioe
.
errorText
)
)
);
GetChars
(
ioe
.
errorText
)
)
);
}
}
...
...
pcbnew/files.cpp
View file @
2229b5ff
...
@@ -544,7 +544,7 @@ bool PCB_EDIT_FRAME::SavePcbFile( const wxString& aFileName, bool aCreateBackupF
...
@@ -544,7 +544,7 @@ bool PCB_EDIT_FRAME::SavePcbFile( const wxString& aFileName, bool aCreateBackupF
fn
.
SetName
(
FP_LIB_TABLE
::
GetFileName
()
);
fn
.
SetName
(
FP_LIB_TABLE
::
GetFileName
()
);
if
(
fn
.
FileExists
()
if
(
fn
.
FileExists
()
&&
IsOK
(
this
,
_
(
"A footprint library table already ex
sist
in this path.
\n\n
Do "
&&
IsOK
(
this
,
_
(
"A footprint library table already ex
ists
in this path.
\n\n
Do "
"you want to overwrite it?"
)
)
)
"you want to overwrite it?"
)
)
)
{
{
try
try
...
@@ -555,7 +555,7 @@ bool PCB_EDIT_FRAME::SavePcbFile( const wxString& aFileName, bool aCreateBackupF
...
@@ -555,7 +555,7 @@ bool PCB_EDIT_FRAME::SavePcbFile( const wxString& aFileName, bool aCreateBackupF
{
{
DisplayError
(
this
,
DisplayError
(
this
,
wxString
::
Format
(
_
(
"An error occurred attempting to save the "
wxString
::
Format
(
_
(
"An error occurred attempting to save the "
"footp
ir
nt library table <%s>
\n\n
%s"
),
"footp
ri
nt library table <%s>
\n\n
%s"
),
GetChars
(
fn
.
GetFullPath
()
),
GetChars
(
fn
.
GetFullPath
()
),
GetChars
(
ioe
.
errorText
)
)
);
GetChars
(
ioe
.
errorText
)
)
);
}
}
...
...
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