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
27a0c73c
Commit
27a0c73c
authored
Sep 01, 2009
by
faa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor bug russian GOST
parent
32336225
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
1 deletion
+17
-1
readschematicnetlist.cpp
cvpcb/readschematicnetlist.cpp
+8
-0
class_sch_component.cpp
eeschema/class_sch_component.cpp
+9
-1
No files found.
cvpcb/readschematicnetlist.cpp
View file @
27a0c73c
...
@@ -235,7 +235,11 @@ int WinEDA_CvpcbFrame::ReadSchematicNetlist()
...
@@ -235,7 +235,11 @@ int WinEDA_CvpcbFrame::ReadSchematicNetlist()
/* debut reference trouv */
/* debut reference trouv */
for
(
;
;
i
++
)
for
(
;
;
i
++
)
{
{
#if defined(KICAD_GOST)
if
(
Line
[
i
]
==
' '
)
#else
if
(
Line
[
i
]
<=
' '
)
if
(
Line
[
i
]
<=
' '
)
#endif
break
;
break
;
component_reference
.
Append
(
Line
[
i
]
);
component_reference
.
Append
(
Line
[
i
]
);
}
}
...
@@ -248,7 +252,11 @@ int WinEDA_CvpcbFrame::ReadSchematicNetlist()
...
@@ -248,7 +252,11 @@ int WinEDA_CvpcbFrame::ReadSchematicNetlist()
for
(
;
;
i
++
)
for
(
;
;
i
++
)
{
{
#if defined(KICAD_GOST)
if
(
Line
[
i
]
==
' '
)
#else
if
(
Line
[
i
]
<=
' '
)
if
(
Line
[
i
]
<=
' '
)
#endif
break
;
break
;
component_value
.
Append
(
Line
[
i
]
);
component_value
.
Append
(
Line
[
i
]
);
}
}
...
...
eeschema/class_sch_component.cpp
View file @
27a0c73c
...
@@ -951,7 +951,11 @@ bool SCH_COMPONENT::Save( FILE* f ) const
...
@@ -951,7 +951,11 @@ bool SCH_COMPONENT::Save( FILE* f ) const
}
}
for
(
ii
=
0
;
ii
<
(
int
)
strlen
(
Name1
);
ii
++
)
for
(
ii
=
0
;
ii
<
(
int
)
strlen
(
Name1
);
ii
++
)
{
{
if
(
Name1
[
ii
]
<=
' '
)
#if defined(KICAD_GOST)
if
(
Name1
[
ii
]
==
' '
)
#else
if
(
Name1
[
ii
]
<=
' '
)
#endif
Name1
[
ii
]
=
'~'
;
Name1
[
ii
]
=
'~'
;
}
}
...
@@ -959,7 +963,11 @@ bool SCH_COMPONENT::Save( FILE* f ) const
...
@@ -959,7 +963,11 @@ bool SCH_COMPONENT::Save( FILE* f ) const
{
{
strncpy
(
Name2
,
CONV_TO_UTF8
(
m_ChipName
),
sizeof
(
Name2
)
);
strncpy
(
Name2
,
CONV_TO_UTF8
(
m_ChipName
),
sizeof
(
Name2
)
);
for
(
ii
=
0
;
ii
<
(
int
)
strlen
(
Name2
);
ii
++
)
for
(
ii
=
0
;
ii
<
(
int
)
strlen
(
Name2
);
ii
++
)
#if defined(KICAD_GOST)
if
(
Name2
[
ii
]
==
' '
)
#else
if
(
Name2
[
ii
]
<=
' '
)
if
(
Name2
[
ii
]
<=
' '
)
#endif
Name2
[
ii
]
=
'~'
;
Name2
[
ii
]
=
'~'
;
}
}
else
else
...
...
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