From 10b04081b3bcc336ded5dc1bc7728181564f174d Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 15 Feb 2012 18:51:40 +0000 Subject: Make tag name stand out a bit more clearly in output. svn path=/trunk/libdom/; revision=13446 --- examples/dom-structure-dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/dom-structure-dump.c b/examples/dom-structure-dump.c index c505cd8..a247186 100644 --- a/examples/dom-structure-dump.c +++ b/examples/dom-structure-dump.c @@ -237,7 +237,7 @@ bool dump_dom_element(dom_node *node, int depth) /* Get string data and print element name */ string = dom_string_data(node_name); length = dom_string_byte_length(node_name); - printf("%.*s", (int)length, string); + printf("[%.*s]", (int)length, string); /* Finished with the node_name dom_string */ dom_string_unref(node_name); -- cgit v1.2.3