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
ff66db7b
Commit
ff66db7b
authored
May 10, 2012
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Gerbview: fix incorrect processing of ICI command in Excellon drill files.
parent
f6551172
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
excellon_read_drill_file.cpp
gerbview/excellon_read_drill_file.cpp
+13
-1
No files found.
gerbview/excellon_read_drill_file.cpp
View file @
ff66db7b
...
...
@@ -390,7 +390,19 @@ bool EXCELLON_IMAGE::Execute_HEADER_Command( char*& text )
break
;
case
DRILL_INCREMENTALHEADER
:
if
(
*
text
!=
','
)
{
ReportMessage
(
_
(
"ICI command has no parameter"
)
);
break
;
}
text
++
;
// skip separator
// Parameter should be ON or OFF
if
(
strnicmp
(
text
,
"OFF"
,
3
)
==
0
)
m_Relative
=
false
;
else
if
(
strnicmp
(
text
,
"ON"
,
2
)
==
0
)
m_Relative
=
true
;
else
ReportMessage
(
_
(
"ICI command has incorrect parameter"
)
);
break
;
case
DRILL_TOOL_CHANGE_STOP
:
...
...
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