From: curt Date: Tue, 12 Jun 2001 02:52:07 +0000 (+0000) Subject: David patches. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=887ffd102fb7cea6addd493b3ce431417a7dc29a;p=simgear.git David patches. --- diff --git a/simgear/misc/props_io.cxx b/simgear/misc/props_io.cxx index f2c9992a..ff438fc6 100644 --- a/simgear/misc/props_io.cxx +++ b/simgear/misc/props_io.cxx @@ -274,7 +274,7 @@ readProperties (const string &file, SGPropertyNode * start_node) * Return the type name. */ static const char * -getTypeName (SGValue::Type type) +getTypeName (SGPropertyNode::Type type) { switch (type) { case SGValue::UNKNOWN: @@ -346,7 +346,7 @@ writeNode (ostream &output, const SGPropertyNode * node, int indent) if (node->isAlias() && node->getAliasTarget() != 0) output << " alias=\"" << node->getAliasTarget()->getPath() << "\"/>"; else { - if (node->getType() != SGValue::UNKNOWN) + if (node->getType() != SGPropertyNode::UNKNOWN) output << " type=\"" << getTypeName(node->getType()) << '"'; output << '>'; writeData(output, node->getStringValue());