Commit bfd33e10 authored by LM's avatar LM

Fixed generator bug

parent 8f850ebe
......@@ -276,8 +276,8 @@ bool MAVLinkXMLParser::generate()
else if (pp2.isElement())
{
fieldComment += pp2.text() + sep;
pp = pp.nextSibling();
}
pp = pp.nextSibling();
}
fieldComment = fieldComment.replace("\n", " ");
fieldComment = " /* " + fieldComment.simplified() + " */";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment