diff options
Diffstat (limited to 'docs/samples')
-rw-r--r-- | docs/samples/include.cpp | 2 | ||||
-rw-r--r-- | docs/samples/save_declaration.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/samples/include.cpp b/docs/samples/include.cpp index 39830c5..84f9dd0 100644 --- a/docs/samples/include.cpp +++ b/docs/samples/include.cpp @@ -48,7 +48,7 @@ bool preprocess(pugi::xml_node node) bool load_preprocess(pugi::xml_document& doc, const char* path) { pugi::xml_parse_result result = doc.load_file(path, pugi::parse_default | pugi::parse_pi); // for <?include?> - + return result ? preprocess(doc) : false; } // end::code[] diff --git a/docs/samples/save_declaration.cpp b/docs/samples/save_declaration.cpp index 7ca1e07..ca98dcb 100644 --- a/docs/samples/save_declaration.cpp +++ b/docs/samples/save_declaration.cpp @@ -15,7 +15,7 @@ int main() decl.append_attribute("encoding") = "UTF-8"; decl.append_attribute("standalone") = "no"; - // <?xml version="1.0" encoding="UTF-8" standalone="no"?> + // <?xml version="1.0" encoding="UTF-8" standalone="no"?> // <foo bar="baz"> // <call>hey</call> // </foo> |