]> git.mxchange.org Git - flightgear.git/commitdiff
- added support for reporting SGPropertyNode::NONE type
authorcurt <curt>
Fri, 27 Jul 2001 22:00:48 +0000 (22:00 +0000)
committercurt <curt>
Fri, 27 Jul 2001 22:00:48 +0000 (22:00 +0000)
src/Network/props.cxx

index cc319d84d2fc5f623543975db674f7f2e7f7fe8c..7452f7b5daa1d7b904a7b041f2e298dda54896c8 100644 (file)
@@ -82,6 +82,8 @@ static string getValueTypeString( const SGPropertyNode *node ) {
     SGPropertyNode::Type type = node->getType();
     if ( type == SGPropertyNode::UNSPECIFIED ) {
        result = "unspecified";
+    } else if ( type == SGPropertyNode::NONE ) {
+        result = "none";
     } else if ( type == SGPropertyNode::BOOL ) {
        result = "bool";
     } else if ( type == SGPropertyNode::INT ) {