Skip to content

Commit

Permalink
Bug 734704 Sigsegv while generating XML output
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri van Heesch committed Aug 13, 2014
1 parent 3b8fea2 commit 14f88af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fileparser.cpp
Expand Up @@ -42,7 +42,7 @@ void FileParser::parseCode(CodeOutputInterface &codeOutIntf,
QCString lineStr = input.mid(i,j-i);
codeOutIntf.startCodeLine(showLineNumbers);
if (showLineNumbers) codeOutIntf.writeLineNumber(0,0,0,lineNr);
codeOutIntf.codify(lineStr);
if (!lineStr.isEmpty()) codeOutIntf.codify(lineStr);
codeOutIntf.endCodeLine();
lineNr++;
i=j+1;
Expand Down

0 comments on commit 14f88af

Please sign in to comment.