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
cca97586
Commit
cca97586
authored
Apr 10, 2013
by
Dick Hollenbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
revert to using quotes around variable text which may be blank
parent
0d41a7a5
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
8 deletions
+7
-8
gpcb_plugin.cpp
pcbnew/gpcb_plugin.cpp
+1
-1
kicad_plugin.cpp
pcbnew/kicad_plugin.cpp
+2
-2
legacy_plugin.cpp
pcbnew/legacy_plugin.cpp
+1
-1
specctra_export.cpp
pcbnew/specctra_export.cpp
+3
-4
No files found.
pcbnew/gpcb_plugin.cpp
View file @
cca97586
...
...
@@ -278,7 +278,7 @@ void GPCB_FPL_CACHE::Remove( const wxString& aFootprintName )
if
(
it
==
m_modules
.
end
()
)
{
THROW_IO_ERROR
(
wxString
::
Format
(
_
(
"library <%s> has no footprint
%s
to delete"
),
THROW_IO_ERROR
(
wxString
::
Format
(
_
(
"library <%s> has no footprint
'%s'
to delete"
),
m_lib_path
.
GetPath
().
GetData
(),
aFootprintName
.
GetData
()
)
);
}
...
...
pcbnew/kicad_plugin.cpp
View file @
cca97586
...
...
@@ -249,7 +249,7 @@ void FP_CACHE::Remove( const wxString& aFootprintName )
if
(
it
==
m_modules
.
end
()
)
{
THROW_IO_ERROR
(
wxString
::
Format
(
_
(
"library <%s> has no footprint
%s
to delete"
),
THROW_IO_ERROR
(
wxString
::
Format
(
_
(
"library <%s> has no footprint
'%s'
to delete"
),
m_lib_path
.
GetPath
().
GetData
(),
aFootprintName
.
GetData
()
)
);
}
...
...
pcbnew/legacy_plugin.cpp
View file @
cca97586
...
...
@@ -4322,7 +4322,7 @@ void LEGACY_PLUGIN::FootprintDelete( const wxString& aLibraryPath, const wxStrin
if
(
erasedCount
!=
1
)
{
THROW_IO_ERROR
(
wxString
::
Format
(
_
(
"library <%s> has no footprint
%s
to delete"
),
_
(
"library <%s> has no footprint
'%s'
to delete"
),
aLibraryPath
.
GetData
(),
aFootprintName
.
GetData
()
)
);
}
...
...
pcbnew/specctra_export.cpp
View file @
cca97586
...
...
@@ -549,7 +549,6 @@ IMAGE* SPECCTRA_DB::makeIMAGE( BOARD* aBoard, MODULE* aModule )
TYPE_COLLECTOR
moduleItems
;
wxString
padName
;
// get all the MODULE's pads.
moduleItems
.
Collect
(
aModule
,
scanPADs
);
...
...
@@ -888,7 +887,7 @@ void SPECCTRA_DB::fillBOUNDARY( BOARD* aBoard, BOUNDARY* boundary ) throw( IO_ER
{
wxString
error
;
error
.
Printf
(
_
(
"Unsupported DRAWSEGMENT type %s"
),
error
.
Printf
(
_
(
"Unsupported DRAWSEGMENT type %s"
),
GetChars
(
BOARD_ITEM
::
ShowShape
(
(
STROKE_T
)
graphic
->
GetShape
()
)
)
);
ThrowIOError
(
error
);
...
...
@@ -964,7 +963,7 @@ void SPECCTRA_DB::FromBOARD( BOARD* aBoard ) throw( IO_ERROR )
if
(
module
->
GetReference
()
==
wxEmptyString
)
{
ThrowIOError
(
_
(
"Component with value of %s has empty reference id."
),
ThrowIOError
(
_
(
"Component with value of '%s' has empty reference id."
),
GetChars
(
module
->
GetValue
()
)
);
}
...
...
@@ -972,7 +971,7 @@ void SPECCTRA_DB::FromBOARD( BOARD* aBoard ) throw( IO_ERROR )
STRINGSET_PAIR
refpair
=
refs
.
insert
(
TO_UTF8
(
module
->
GetReference
()
)
);
if
(
!
refpair
.
second
)
// insert failed
{
ThrowIOError
(
_
(
"Multiple components have identical reference IDs of %s."
),
ThrowIOError
(
_
(
"Multiple components have identical reference IDs of '%s'."
),
GetChars
(
module
->
GetReference
()
)
);
}
}
...
...
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