Commit 61b00c00 authored by Dimitri van Heesch's avatar Dimitri van Heesch
Browse files

Fixed off-by one error for last character in compound.xsd

parent e3c63633
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)
    {