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
cf8f8ca2
Commit
cf8f8ca2
authored
Apr 15, 2011
by
Andrey Fedorushkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor fix component subref in russian GOST
parent
560abfa3
Changes
2
Hide 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
component_references_lister.cpp
eeschema/component_references_lister.cpp
+3
-3
No files found.
eeschema/class_libentry.cpp
View file @
cf8f8ca2
...
@@ -261,7 +261,7 @@ wxString LIB_COMPONENT::GetLibraryName()
...
@@ -261,7 +261,7 @@ wxString LIB_COMPONENT::GetLibraryName()
wxString
LIB_COMPONENT
::
ReturnSubReference
(
int
aUnit
)
wxString
LIB_COMPONENT
::
ReturnSubReference
(
int
aUnit
)
{
{
wxString
subRef
;
wxString
subRef
;
#if defined(KICAD_GOST)
#if defined(KICAD_GOST)
subRef
.
Printf
(
wxT
(
".%d"
),
aUnit
);
subRef
.
Printf
(
wxT
(
".%d"
),
aUnit
);
#else
#else
subRef
.
Append
(
wxChar
(
aUnit
+
'A'
-
1
)
);
subRef
.
Append
(
wxChar
(
aUnit
+
'A'
-
1
)
);
...
...
eeschema/component_references_lister.cpp
View file @
cf8f8ca2
...
@@ -597,14 +597,14 @@ int SCH_REFERENCE_LIST::CheckAnnotation( wxArrayString* aMessageList )
...
@@ -597,14 +597,14 @@ int SCH_REFERENCE_LIST::CheckAnnotation( wxArrayString* aMessageList )
if
(
componentFlatList
[
ii
].
CompareValue
(
componentFlatList
[
next
]
)
!=
0
)
if
(
componentFlatList
[
ii
].
CompareValue
(
componentFlatList
[
next
]
)
!=
0
)
{
{
#if defined(KICAD_GOST)
#if defined(KICAD_GOST)
msg
.
Printf
(
_
(
"Different values for %s%d.%
c (%s) and %s%d.%c
(%s)"
),
msg
.
Printf
(
_
(
"Different values for %s%d.%
d (%s) and %s%d.%d
(%s)"
),
GetChars
(
componentFlatList
[
ii
].
GetRef
()
),
GetChars
(
componentFlatList
[
ii
].
GetRef
()
),
componentFlatList
[
ii
].
m_NumRef
,
componentFlatList
[
ii
].
m_NumRef
,
componentFlatList
[
ii
].
m_Unit
+
'1'
-
1
,
componentFlatList
[
ii
].
m_Unit
,
GetChars
(
*
componentFlatList
[
ii
].
m_Value
),
GetChars
(
*
componentFlatList
[
ii
].
m_Value
),
GetChars
(
componentFlatList
[
next
].
GetRef
()
),
GetChars
(
componentFlatList
[
next
].
GetRef
()
),
componentFlatList
[
next
].
m_NumRef
,
componentFlatList
[
next
].
m_NumRef
,
componentFlatList
[
next
].
m_Unit
+
'1'
-
1
,
componentFlatList
[
next
].
m_Unit
,
componentFlatList
[
next
].
m_Value
->
GetData
()
);
componentFlatList
[
next
].
m_Value
->
GetData
()
);
#else
#else
msg
.
Printf
(
_
(
"Different values for %s%d%c (%s) and %s%d%c (%s)"
),
msg
.
Printf
(
_
(
"Different values for %s%d%c (%s) and %s%d%c (%s)"
),
...
...
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