From e175c8cc4d957e8f733a0aa61da850a7c2e858ae Mon Sep 17 00:00:00 2001 From: curt Date: Fri, 8 Dec 2000 15:22:09 +0000 Subject: [PATCH] Tweaks to property manager write routine to return true as it should when the write succeeds. --- simgear/misc/props_io.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/simgear/misc/props_io.cxx b/simgear/misc/props_io.cxx index 35c282f6..ebe0f0f6 100644 --- a/simgear/misc/props_io.cxx +++ b/simgear/misc/props_io.cxx @@ -16,6 +16,7 @@ using std::istream; using std::ifstream; using std::ostream; +using std::ofstream; using std::string; using std::vector; @@ -329,6 +330,8 @@ writeNode (ostream &output, SGPropertyNode node, int indent) doIndent(output, indent); output << "' << endl; } + + return true; } bool @@ -344,6 +347,8 @@ writePropertyList (ostream &output, const SGPropertyList * props) } output << "" << endl; + + return true; } bool -- 2.39.5