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
8f90556a
Commit
8f90556a
authored
May 02, 2010
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Plain Diff
fixed bug 573833
parents
f48322d3
9026fe6e
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11475 additions
and
33006 deletions
+11475
-33006
confirm.cpp
common/confirm.cpp
+2
-2
interf_u.brd
demos/interf_u/interf_u.brd
+11468
-33002
libedit_plot_component.cpp
eeschema/libedit_plot_component.cpp
+3
-0
class_dimension.cpp
pcbnew/class_dimension.cpp
+2
-2
No files found.
common/confirm.cpp
View file @
8f90556a
...
@@ -119,9 +119,9 @@ bool IsOK( wxWindow* parent, const wxString& text )
...
@@ -119,9 +119,9 @@ bool IsOK( wxWindow* parent, const wxString& text )
* Title = title to display
* Title = title to display
* Buffer: enter text by user
* Buffer: enter text by user
* Leading and trailing spaces are removed
* Leading and trailing spaces are removed
*
If buffer != "Buffer is displayed
*
Buffer is the initial text displayed, anr the returned text
* Return:
* Return:
*
0
if OK
*
1
if OK
* 0 if ESCAPE
* 0 if ESCAPE
*/
*/
int
Get_Message
(
const
wxString
&
title
,
// The question
int
Get_Message
(
const
wxString
&
title
,
// The question
...
...
demos/interf_u/interf_u.brd
View file @
8f90556a
This diff is collapsed.
Click to expand it.
eeschema/libedit_plot_component.cpp
View file @
8f90556a
...
@@ -53,6 +53,9 @@ void WinEDA_LibeditFrame::OnPlotCurrentComponent( wxCommandEvent& event )
...
@@ -53,6 +53,9 @@ void WinEDA_LibeditFrame::OnPlotCurrentComponent( wxCommandEvent& event )
if
(
FullFileName
.
IsEmpty
()
)
if
(
FullFileName
.
IsEmpty
()
)
return
;
return
;
// calling wxYield is mandatory under Linux, after closing the file selector dialog
// to refresh the screen before creating the PNG or JPEG image from screen
wxYield
();
CreatePNGorJPEGFile
(
FullFileName
,
fmt_is_jpeg
);
CreatePNGorJPEGFile
(
FullFileName
,
fmt_is_jpeg
);
}
}
break
;
break
;
...
...
pcbnew/class_dimension.cpp
View file @
8f90556a
...
@@ -354,7 +354,7 @@ bool DIMENSION::Save( FILE* aFile ) const
...
@@ -354,7 +354,7 @@ bool DIMENSION::Save( FILE* aFile ) const
const
char
keyWordLine
[]
=
"$COTATION
\n
"
;
const
char
keyWordLine
[]
=
"$COTATION
\n
"
;
const
char
keyWordLineEnd
[]
=
"$endCOTATION
\n
"
;
const
char
keyWordLineEnd
[]
=
"$endCOTATION
\n
"
;
if
(
fp
rintf
(
aFile
,
keyWordLine
)
!=
sizeof
(
keyWordLine
)
-
1
)
if
(
fp
uts
(
keyWordLine
,
aFile
)
==
EOF
)
goto
out
;
goto
out
;
fprintf
(
aFile
,
"Ge %d %d %lX
\n
"
,
m_Shape
,
m_Layer
,
m_TimeStamp
);
fprintf
(
aFile
,
"Ge %d %d %lX
\n
"
,
m_Shape
,
m_Layer
,
m_TimeStamp
);
...
@@ -401,7 +401,7 @@ bool DIMENSION::Save( FILE* aFile ) const
...
@@ -401,7 +401,7 @@ bool DIMENSION::Save( FILE* aFile ) const
FlecheG2_ox
,
FlecheG2_oy
,
FlecheG2_ox
,
FlecheG2_oy
,
FlecheG2_fx
,
FlecheG2_fy
,
m_Width
);
FlecheG2_fx
,
FlecheG2_fy
,
m_Width
);
if
(
fp
rintf
(
aFile
,
keyWordLineEnd
)
!=
sizeof
(
keyWordLineEnd
)
-
1
)
if
(
fp
uts
(
keyWordLineEnd
,
aFile
)
==
EOF
)
goto
out
;
goto
out
;
rc
=
true
;
rc
=
true
;
...
...
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