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
e68662c1
Commit
e68662c1
authored
Mar 25, 2011
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix bug 741352.
parent
38269efa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
class_text_mod.cpp
pcbnew/class_text_mod.cpp
+3
-4
No files found.
pcbnew/class_text_mod.cpp
View file @
e68662c1
...
...
@@ -78,7 +78,7 @@ bool TEXTE_MODULE::Save( FILE* aFile ) const
if
(
parent
)
orient
+=
parent
->
m_Orient
;
int
ret
=
fprintf
(
aFile
,
"T%d %d %d %d %d %d %d %c %c %d %c
\"
%s
\"
\n
"
,
int
ret
=
fprintf
(
aFile
,
"T%d %d %d %d %d %d %d %c %c %d %c
%s
\n
"
,
m_Type
,
m_Pos0
.
x
,
m_Pos0
.
y
,
m_Size
.
y
,
m_Size
.
x
,
...
...
@@ -159,12 +159,11 @@ int TEXTE_MODULE::ReadDescr( LINE_READER* aReader )
SetLayer
(
layer
);
// Calculate the
true
position.
// Calculate the
actual
position.
SetDrawCoord
();
// Read the "text" string.
// @todo why is line not incremented, what are we reading here?
// Search and read the "text" string (a quoted text).
ReadDelimitedText
(
&
m_Text
,
line
);
// Test for a reasonable size:
...
...
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