]> git.mxchange.org Git - simgear.git/blobdiff - simgear/props/props_io.cxx
Merge branch 'fred/precip' into next
[simgear.git] / simgear / props / props_io.cxx
index 622ef367a348de9d5e4922f175f5dd586c0ade4d..48244c7b11ee7cea442681e0944638cd6828cbd0 100644 (file)
@@ -602,6 +602,13 @@ writeProperties (const string &file, const SGPropertyNode * start_node,
   }
 }
 
+// Another variation, useful when called from gdb
+void
+writeProperties (const char* file, const SGPropertyNode * start_node)
+{
+    writeProperties(string(file), start_node, true);
+}
+
 
 \f
 ////////////////////////////////////////////////////////////////////////