diff options
author | Richard Hughes <richard@hughsie.com> | 2014-06-19 10:10:22 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2014-06-19 10:10:22 +0100 |
commit | 1b6cc1cb2fab8d0c5e450db78aa4a0bf6afa8a57 (patch) | |
tree | 8c07c4f2e5cba99145fe6228b177850eb2c31b0a | |
parent | 7f8cc058e9ebb7594a243d271ef819cf16c49739 (diff) | |
download | appstream-glib-1b6cc1cb2fab8d0c5e450db78aa4a0bf6afa8a57.tar.gz |
trivial: Double space the XML intents to match best practices
-rw-r--r-- | libappstream-glib/as-node.c | 2 | ||||
-rw-r--r-- | libappstream-glib/as-self-test.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libappstream-glib/as-node.c b/libappstream-glib/as-node.c index b67bcb2..fb15e82 100644 --- a/libappstream-glib/as-node.c +++ b/libappstream-glib/as-node.c @@ -260,7 +260,7 @@ as_node_add_padding (GString *xml, guint depth) { guint i; for (i = 0; i < depth; i++) - g_string_append (xml, " "); + g_string_append (xml, " "); } /** diff --git a/libappstream-glib/as-self-test.c b/libappstream-glib/as-self-test.c index 072edcc..6a51392 100644 --- a/libappstream-glib/as-self-test.c +++ b/libappstream-glib/as-self-test.c @@ -942,7 +942,7 @@ ch_test_node_xml_func (void) g_assert (xml != NULL); g_assert_cmpstr (xml->str, ==, "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" - "<foo>\n <bar key=\"value\">baz</bar>\n</foo>\n"); + "<foo>\n <bar key=\"value\">baz</bar>\n</foo>\n"); g_string_free (xml, TRUE); as_node_unref (root); |