diff --git a/simgear/props/props_io.cxx b/simgear/props/props_io.cxx index 622ef367..48244c7b 100644 --- a/simgear/props/props_io.cxx +++ b/simgear/props/props_io.cxx @@ -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); +} + ////////////////////////////////////////////////////////////////////////