]> git.mxchange.org Git - flightgear.git/blobdiff - src/Network/httpd.cxx
Added static port system and a new altimeter model connected to it.
[flightgear.git] / src / Network / httpd.cxx
index 97ab9b5d4b768d158a644110a0ca96d6206362df..1c01ac7eb6f7a042c8a5fb1cd5a289903370472f 100644 (file)
@@ -178,12 +178,7 @@ void HttpdChannel::foundTerminator (void) {
 
             for (int i = 0; i < node->nChildren(); i++) {
                 SGPropertyNode *child = node->getChild(i);
-                string name = child->getName();
-                if ( node->getChild(name.c_str(), 1) ) {
-                    char buf[16];
-                    sprintf(buf, "[%d]", child->getIndex());
-                    name += buf;
-                }
+                string name = child->getDisplayName(true);
                 string line = "";
                 if ( child->nChildren() > 0 ) {
                     line += "<B><A HREF=\"";