]> git.mxchange.org Git - simgear.git/commitdiff
write-protection warning: use simplified path
authormfranz <mfranz>
Wed, 9 Jul 2008 17:31:55 +0000 (17:31 +0000)
committermfranz <mfranz>
Wed, 9 Jul 2008 17:31:55 +0000 (17:31 +0000)
simgear/props/props_io.cxx

index 88d4c3704ce779a9506319668764a9e190643ec5..e080db56f160e5488107f934ba6d1bda18f46d85 100644 (file)
@@ -192,7 +192,7 @@ PropsVisitor::startElement (const char * name, const XMLAttributes &atts)
     SGPropertyNode * node = st.node->getChild(name, index, true);
     if (!node->getAttribute(SGPropertyNode::WRITE)) {
       SG_LOG(SG_INPUT, SG_ALERT, "Not overwriting write-protected property "
-          << node->getPath());
+          << node->getPath(true));
       node = &null;
     }