summaryrefslogtreecommitdiff
path: root/docs/samples
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2016-01-24 08:56:06 -0800
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2016-01-24 08:56:06 -0800
commite133764f33572c9bca205b0c19fc981df48e7e15 (patch)
treec389c399fd06571172a546aa65c761e234cd2310 /docs/samples
parent7f91301946ce05e79fdd2ca3e79071f79fc93ba3 (diff)
parentf7aa65db8a13d32da0586c125f6b9b67460af374 (diff)
Merge pull request #81 from ogdf/whitespace-issues
Fix whitespace issues
Diffstat (limited to 'docs/samples')
-rw-r--r--docs/samples/include.cpp2
-rw-r--r--docs/samples/save_declaration.cpp2
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>