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
669db0ff
Commit
669db0ff
authored
Mar 12, 2011
by
Andrey Fedorushkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eeschema: minor fix russian GOST compact form BOM out
parent
cd3b3b33
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
dialog_build_BOM.cpp
eeschema/dialogs/dialog_build_BOM.cpp
+7
-2
No files found.
eeschema/dialogs/dialog_build_BOM.cpp
View file @
669db0ff
...
@@ -585,17 +585,22 @@ void DIALOG_BUILD_BOM::PrintFieldData( FILE* f, SCH_COMPONENT* DrawLibItem,
...
@@ -585,17 +585,22 @@ void DIALOG_BUILD_BOM::PrintFieldData( FILE* f, SCH_COMPONENT* DrawLibItem,
if
(
CompactForm
)
if
(
CompactForm
)
#if defined(KICAD_GOST)
#if defined(KICAD_GOST)
{
tmpStr
.
Printf
(
wxT
(
"%c%s"
),
s_ExportSeparatorSymbol
,
tmpStr
.
Printf
(
wxT
(
"%c%s"
),
s_ExportSeparatorSymbol
,
GetChars
(
DrawLibItem
->
GetField
(
ii
)
->
m_Text
)
);
GetChars
(
DrawLibItem
->
GetField
(
ii
)
->
m_Text
)
);
outStr
+=
tmpStr
;
}
#else
#else
fprintf
(
f
,
"%c%s"
,
s_ExportSeparatorSymbol
,
fprintf
(
f
,
"%c%s"
,
s_ExportSeparatorSymbol
,
TO_UTF8
(
DrawLibItem
->
GetField
(
ii
)
->
m_Text
)
);
TO_UTF8
(
DrawLibItem
->
GetField
(
ii
)
->
m_Text
)
);
#endif
#endif
else
else
#if defined(KICAD_GOST)
#if defined(KICAD_GOST)
{
tmpStr
.
Printf
(
wxT
(
"; %-12s"
),
tmpStr
.
Printf
(
wxT
(
"; %-12s"
),
GetChars
(
DrawLibItem
->
GetField
(
ii
)
->
m_Text
)
);
GetChars
(
DrawLibItem
->
GetField
(
ii
)
->
m_Text
)
);
outStr
+=
tmpStr
;
outStr
+=
tmpStr
;
}
#else
#else
fprintf
(
f
,
"; %-12s"
,
fprintf
(
f
,
"; %-12s"
,
TO_UTF8
(
DrawLibItem
->
GetField
(
ii
)
->
m_Text
)
);
TO_UTF8
(
DrawLibItem
->
GetField
(
ii
)
->
m_Text
)
);
...
@@ -750,7 +755,7 @@ int DIALOG_BUILD_BOM::PrintComponentsListByRef( FILE* f,
...
@@ -750,7 +755,7 @@ int DIALOG_BUILD_BOM::PrintComponentsListByRef( FILE* f,
if
(
CompactForm
)
if
(
CompactForm
)
{
{
if
(
strPred
.
Len
()
==
0
)
if
(
strPred
.
Len
()
==
0
)
CmpNameFirst
=
CmpName
;
CmpNameFirst
=
CmpName
;
else
else
{
{
if
(
!
strCur
.
IsSameAs
(
strPred
)
)
if
(
!
strCur
.
IsSameAs
(
strPred
)
)
...
...
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