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
84b0c656
Commit
84b0c656
authored
Aug 25, 2008
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
solved bug 2072876.
parent
8816d4da
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
10 deletions
+8
-10
pinedit.cpp
eeschema/pinedit.cpp
+1
-3
gendrill.cpp
pcbnew/gendrill.cpp
+7
-7
No files found.
eeschema/pinedit.cpp
View file @
84b0c656
...
...
@@ -558,12 +558,10 @@ void WinEDA_LibeditFrame::CreatePin( wxDC* DC )
/* Creation d'une nouvelle pin */
{
LibEDA_BaseStruct
*
DrawItem
;
LibDrawPin
*
CurrentPin
=
(
LibDrawPin
*
)
CurrentDrawItem
;
LibDrawPin
*
CurrentPin
;
if
(
CurrentLibEntry
==
NULL
)
return
;
if
(
CurrentPin
!=
NULL
)
return
;
/* Effacement des flags */
DrawItem
=
CurrentLibEntry
->
m_Drawings
;
...
...
pcbnew/gendrill.cpp
View file @
84b0c656
...
...
@@ -646,13 +646,13 @@ void WinEDA_DrillFrame::Write_Excellon_Header( FILE* aFile )
if
(
!
Minimal
)
{
DateAndTime
(
Line
);
wxString
Title
=
g_Main_Title
+
wxT
(
" "
)
+
GetBuildVersion
();
fprintf
(
dest
,
";DRILL file {%s} date %s
\n
"
,
CONV_TO_UTF8
(
Title
),
Line
);
fputs
(
";FORMAT={"
,
aFile
);
fprintf
(
dest
,
"%s / absolute / "
,
CONV_TO_UTF8
(
m_Choice_Precision
->
GetStringSelection
()
)
);
fprintf
(
dest
,
"%s / "
,
CONV_TO_UTF8
(
m_Choice_Unit
->
GetStringSelection
()
)
);
fp
rintf
(
dest
,
"%s}
\n
"
,
CONV_TO_UTF8
(
m_Choice_Zeros_Format
->
GetStringSelection
()
)
);
wxString
msg
=
g_Main_Title
+
wxT
(
" "
)
+
GetBuildVersion
();
fprintf
(
aFile
,
";DRILL file {%s} date %s
\n
"
,
CONV_TO_UTF8
(
msg
),
Line
);
msg
=
wxT
(
";FORMAT={"
);
msg
<<
m_Choice_Precision
->
GetStringSelection
()
<<
wxT
(
"/ absolute / "
);
msg
<<
m_Choice_Unit
->
GetStringSelection
()
<<
wxT
(
" / "
);
msg
<<
m_Choice_Zeros_Format
->
GetStringSelection
()
<<
wxT
(
"}
\n
"
);
fp
uts
(
CONV_TO_UTF8
(
msg
),
aFile
);
fputs
(
"R,T
\n
VER,1
\n
FMAT,2
\n
"
,
aFile
);
}
...
...
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