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
91e26fe8
Commit
91e26fe8
authored
Oct 18, 2010
by
Wayne Stambaugh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix minor wxWidgets 2.8 build errors.
parent
19def3d5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
rs274x.cpp
gerbview/rs274x.cpp
+3
-4
No files found.
gerbview/rs274x.cpp
View file @
91e26fe8
...
@@ -494,7 +494,7 @@ bool GERBER_IMAGE::ExecuteRS274XCommand( int command,
...
@@ -494,7 +494,7 @@ bool GERBER_IMAGE::ExecuteRS274XCommand( int command,
case
PLOTTER_FILM
:
// Command PF <string>
case
PLOTTER_FILM
:
// Command PF <string>
// This is an info about film that must be used to plot this file
// This is an info about film that must be used to plot this file
// Has no meaning here. We just display this string
// Has no meaning here. We just display this string
msg
=
(
"Plotter Film info:<br>"
);
msg
=
wxT
(
"Plotter Film info:<br>"
);
while
(
*
text
!=
'*'
)
while
(
*
text
!=
'*'
)
{
{
msg
.
Append
(
*
text
++
);
msg
.
Append
(
*
text
++
);
...
@@ -913,7 +913,7 @@ bool GERBER_IMAGE::ReadApertureMacro( char buff[GERBER_BUFZ],
...
@@ -913,7 +913,7 @@ bool GERBER_IMAGE::ReadApertureMacro( char buff[GERBER_BUFZ],
default
:
default
:
// @todo, there needs to be a way of reporting the line number
// @todo, there needs to be a way of reporting the line number
msg
.
Printf
(
wxT
(
"RS274X: Aperture Macro
\"
%s
\"
: Invalid primitive id code %d, line:
\"
%s
\"
"
),
msg
.
Printf
(
wxT
(
"RS274X: Aperture Macro
\"
%s
\"
: Invalid primitive id code %d, line:
\"
%s
\"
"
),
GetChars
(
am
.
name
),
primitive_type
,
CONV_FROM_UTF8
(
buff
)
);
GetChars
(
am
.
name
),
primitive_type
,
GetChars
(
CONV_FROM_UTF8
(
buff
)
)
);
ReportMessage
(
msg
);
ReportMessage
(
msg
);
return
false
;
return
false
;
}
}
...
@@ -936,8 +936,7 @@ bool GERBER_IMAGE::ReadApertureMacro( char buff[GERBER_BUFZ],
...
@@ -936,8 +936,7 @@ bool GERBER_IMAGE::ReadApertureMacro( char buff[GERBER_BUFZ],
if
(
i
<
paramCount
)
if
(
i
<
paramCount
)
{
{
// maybe some day we can throw an exception and track a line number
// maybe some day we can throw an exception and track a line number
msg
.
Printf
(
wxT
(
msg
.
Printf
(
wxT
(
"RS274X: read macro descr type %d: read %d parameters, insufficient parameters
\n
"
),
"RS274X: read macro descr type %d: read %d parameters, insufficient parameters
\n
"
),
prim
.
primitive_id
,
i
);
prim
.
primitive_id
,
i
);
ReportMessage
(
msg
);
ReportMessage
(
msg
);
...
...
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