From 887ffd102fb7cea6addd493b3ce431417a7dc29a Mon Sep 17 00:00:00 2001 From: curt Date: Tue, 12 Jun 2001 02:52:07 +0000 Subject: [PATCH] David patches. --- simgear/misc/props_io.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()); -- 2.39.5