X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FNetwork%2Fprops.cxx;h=1a42c8d62f536f03c7ea64b815c92222efa53f20;hb=17c96ae69ed7a3c33c816e821ae88c501ab7cf65;hp=f249f23b8524a8e49e81c91ef08b8a34fcdeba59;hpb=d7ca2c7e7dfba2950f4bd7292a0e7cf15651c290;p=flightgear.git diff --git a/src/Network/props.cxx b/src/Network/props.cxx index f249f23b8..1a42c8d62 100644 --- a/src/Network/props.cxx +++ b/src/Network/props.cxx @@ -35,8 +35,8 @@ #include "props.hxx" -FG_USING_STD(cout); -FG_USING_STD(istrstream); +SG_USING_STD(cout); +SG_USING_STD(istrstream); FGProps::FGProps() { } @@ -155,7 +155,8 @@ bool FGProps::process_command( const char *cmd ) { } else { SGPropertyNode *child = node->getNode(tokens[1]); if ( child ) { - path = child->getPath(); + node = child; + path = node->getPath(); } else { tokens[1] += " Not Found\n"; io->writestring( tokens[1].c_str() );