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
Hide 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 )
...
@@ -558,12 +558,10 @@ void WinEDA_LibeditFrame::CreatePin( wxDC* DC )
/* Creation d'une nouvelle pin */
/* Creation d'une nouvelle pin */
{
{
LibEDA_BaseStruct
*
DrawItem
;
LibEDA_BaseStruct
*
DrawItem
;
LibDrawPin
*
CurrentPin
=
(
LibDrawPin
*
)
CurrentDrawItem
;
LibDrawPin
*
CurrentPin
;
if
(
CurrentLibEntry
==
NULL
)
if
(
CurrentLibEntry
==
NULL
)
return
;
return
;
if
(
CurrentPin
!=
NULL
)
return
;
/* Effacement des flags */
/* Effacement des flags */
DrawItem
=
CurrentLibEntry
->
m_Drawings
;
DrawItem
=
CurrentLibEntry
->
m_Drawings
;
...
...
pcbnew/gendrill.cpp
View file @
84b0c656
...
@@ -646,13 +646,13 @@ void WinEDA_DrillFrame::Write_Excellon_Header( FILE* aFile )
...
@@ -646,13 +646,13 @@ void WinEDA_DrillFrame::Write_Excellon_Header( FILE* aFile )
if
(
!
Minimal
)
if
(
!
Minimal
)
{
{
DateAndTime
(
Line
);
DateAndTime
(
Line
);
wxString
Title
=
g_Main_Title
+
wxT
(
" "
)
+
GetBuildVersion
();
wxString
msg
=
g_Main_Title
+
wxT
(
" "
)
+
GetBuildVersion
();
fprintf
(
dest
,
";DRILL file {%s} date %s
\n
"
,
CONV_TO_UTF8
(
Title
),
Line
);
fprintf
(
aFile
,
";DRILL file {%s} date %s
\n
"
,
CONV_TO_UTF8
(
msg
),
Line
);
fputs
(
";FORMAT={"
,
aFile
);
msg
=
wxT
(
";FORMAT={"
);
fprintf
(
dest
,
"%s / absolute / "
,
msg
<<
m_Choice_Precision
->
GetStringSelection
()
<<
wxT
(
"/ absolute / "
);
CONV_TO_UTF8
(
m_Choice_Precision
->
GetStringSelection
()
)
);
msg
<<
m_Choice_Unit
->
GetStringSelection
()
<<
wxT
(
" / "
);
fprintf
(
dest
,
"%s / "
,
CONV_TO_UTF8
(
m_Choice_Unit
->
GetStringSelection
()
)
);
msg
<<
m_Choice_Zeros_Format
->
GetStringSelection
()
<<
wxT
(
"}
\n
"
);
fp
rintf
(
dest
,
"%s}
\n
"
,
CONV_TO_UTF8
(
m_Choice_Zeros_Format
->
GetStringSelection
()
)
);
fp
uts
(
CONV_TO_UTF8
(
msg
),
aFile
);
fputs
(
"R,T
\n
VER,1
\n
FMAT,2
\n
"
,
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