summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2012-02-15 18:51:40 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2012-02-15 18:51:40 +0000
commit10b04081b3bcc336ded5dc1bc7728181564f174d (patch)
tree3e8e935e1c212e2f4ad6409bea6d208b357b312c
parentefba2c176d1c683a0c4e802b8f925b468158e237 (diff)
downloadlibdom-10b04081b3bcc336ded5dc1bc7728181564f174d.tar.gz
libdom-10b04081b3bcc336ded5dc1bc7728181564f174d.tar.bz2
Make tag name stand out a bit more clearly in output.
svn path=/trunk/libdom/; revision=13446
-rw-r--r--examples/dom-structure-dump.c2
1 files changed, 1 insertions, 1 deletions
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);