Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
doxverilog
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
doxverilog
Commits
61b00c00
Commit
61b00c00
authored
Feb 10, 2014
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed off-by one error for last character in compound.xsd
parent
e3c63633
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
xmlgen.cpp
src/xmlgen.cpp
+1
-1
No files found.
src/xmlgen.cpp
View file @
61b00c00
...
@@ -1905,7 +1905,7 @@ void generateXML()
...
@@ -1905,7 +1905,7 @@ void generateXML()
{
{
// find end of the line
// find end of the line
const
char
*
endLine
=
startLine
+
1
;
const
char
*
endLine
=
startLine
+
1
;
while
(
*
(
endLine
-
1
)
&&
*
(
endLine
-
1
)
!=
'\n'
)
endLine
++
;
// skip to end of the line
while
(
*
endLine
&&
*
(
endLine
-
1
)
!=
'\n'
)
endLine
++
;
// skip to end of the line including \n
int
len
=
endLine
-
startLine
;
int
len
=
endLine
-
startLine
;
if
(
len
>
0
)
if
(
len
>
0
)
{
{
...
...
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