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
b42e47ee
Commit
b42e47ee
authored
Feb 28, 2015
by
Wayne Stambaugh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a few more wxLog string formatting assertions in Eeshcema.
parent
d8a74aa7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
class_libentry.cpp
eeschema/class_libentry.cpp
+1
-1
sch_component.cpp
eeschema/sch_component.cpp
+3
-3
No files found.
eeschema/class_libentry.cpp
View file @
b42e47ee
...
@@ -1697,7 +1697,7 @@ LIB_ALIAS* LIB_PART::RemoveAlias( LIB_ALIAS* aAlias )
...
@@ -1697,7 +1697,7 @@ LIB_ALIAS* LIB_PART::RemoveAlias( LIB_ALIAS* aAlias )
bool
rename
=
aAlias
->
IsRoot
();
bool
rename
=
aAlias
->
IsRoot
();
wxLogTrace
(
traceSchLibMem
,
wxLogTrace
(
traceSchLibMem
,
wxT
(
"%s: part:'%s', alias:'%s', alias count %llu, reference count %d."
),
wxT
(
"%s: part:'%s', alias:'%s', alias count %llu, reference count %
l
d."
),
GetChars
(
wxString
::
FromAscii
(
__WXFUNCTION__
)
),
GetChars
(
wxString
::
FromAscii
(
__WXFUNCTION__
)
),
GetChars
(
m_name
),
GetChars
(
m_name
),
GetChars
(
aAlias
->
GetName
()
),
GetChars
(
aAlias
->
GetName
()
),
...
...
eeschema/sch_component.cpp
View file @
b42e47ee
...
@@ -414,7 +414,7 @@ wxString SCH_COMPONENT::GetPath( const SCH_SHEET_PATH* sheet ) const
...
@@ -414,7 +414,7 @@ wxString SCH_COMPONENT::GetPath( const SCH_SHEET_PATH* sheet ) const
wxString
str
;
wxString
str
;
str
.
Printf
(
wxT
(
"%8.8lX"
),
m_TimeStamp
);
str
.
Printf
(
wxT
(
"%8.8lX"
),
(
long
unsigned
)
m_TimeStamp
);
return
sheet
->
Path
()
+
str
;
return
sheet
->
Path
()
+
str
;
}
}
...
@@ -547,8 +547,8 @@ void SCH_COMPONENT::SetTimeStamp( time_t aNewTimeStamp )
...
@@ -547,8 +547,8 @@ void SCH_COMPONENT::SetTimeStamp( time_t aNewTimeStamp )
{
{
wxString
string_timestamp
,
string_oldtimestamp
;
wxString
string_timestamp
,
string_oldtimestamp
;
string_timestamp
.
Printf
(
wxT
(
"%08lX"
),
aNewTimeStamp
);
string_timestamp
.
Printf
(
wxT
(
"%08lX"
),
(
long
unsigned
)
aNewTimeStamp
);
string_oldtimestamp
.
Printf
(
wxT
(
"%08lX"
),
m_TimeStamp
);
string_oldtimestamp
.
Printf
(
wxT
(
"%08lX"
),
(
long
unsigned
)
m_TimeStamp
);
EDA_ITEM
::
SetTimeStamp
(
aNewTimeStamp
);
EDA_ITEM
::
SetTimeStamp
(
aNewTimeStamp
);
for
(
unsigned
ii
=
0
;
ii
<
m_PathsAndReferences
.
GetCount
();
ii
++
)
for
(
unsigned
ii
=
0
;
ii
<
m_PathsAndReferences
.
GetCount
();
ii
++
)
...
...
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