From bfd33e1056d4ba96f02cc6824800efeb405aff2e Mon Sep 17 00:00:00 2001 From: LM Date: Wed, 27 Jul 2011 16:11:00 +0200 Subject: [PATCH] Fixed generator bug --- src/apps/mavlinkgen/generator/MAVLinkXMLParser.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/mavlinkgen/generator/MAVLinkXMLParser.cc b/src/apps/mavlinkgen/generator/MAVLinkXMLParser.cc index da23a1f60..34cc9ec9b 100644 --- a/src/apps/mavlinkgen/generator/MAVLinkXMLParser.cc +++ b/src/apps/mavlinkgen/generator/MAVLinkXMLParser.cc @@ -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() + " */"; -- 2.22.0