diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2014-02-10 21:04:17 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2014-02-10 21:04:17 (GMT) |
commit | 61b00c0061eda805696fe6f90db15136811e1ed7 (patch) | |
tree | e735cdc2e245038b8a3685a2d783750b4667b83d | |
parent | e3c636337323ba6e3f21bf1e8cfe2a899a8890c1 (diff) | |
download | Doxygen-61b00c0061eda805696fe6f90db15136811e1ed7.zip Doxygen-61b00c0061eda805696fe6f90db15136811e1ed7.tar.gz Doxygen-61b00c0061eda805696fe6f90db15136811e1ed7.tar.bz2 |
Fixed off-by one error for last character in compound.xsd
-rw-r--r-- | src/xmlgen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmlgen.cpp b/src/xmlgen.cpp index 3a9e2ef..b1633fc 100644 --- a/src/xmlgen.cpp +++ b/src/xmlgen.cpp @@ -1905,7 +1905,7 @@ void generateXML() { // find end of the line 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; if (len>0) { |