]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/util.cxx
- use path validation for parsexml() nasal command
[flightgear.git] / src / Main / util.cxx
index e790e27e7adf3d0fcd5ac18e6b82aee4d730b0d0..3ba719688cdfa1a478460defe1d01b97e7d13aea 100644 (file)
@@ -198,6 +198,9 @@ fgUnescape (const char *s)
 }
 
 
+// Write out path to validation node and read it back in. A Nasal
+// listener is supposed to replace the path with a validated version
+// or an empty string otherwise.
 const char *fgValidatePath (const char *str, bool write)
 {
     static SGPropertyNode_ptr r, w;