summaryrefslogtreecommitdiff
path: root/examples
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
commit2cfbf69aec49595c35e9ee264b0e3bc6ad84a37e (patch)
tree3e8e935e1c212e2f4ad6409bea6d208b357b312c /examples
parent514bbabadab79919cb723a3a75dedcb092923bb3 (diff)
downloadlibdom-2cfbf69aec49595c35e9ee264b0e3bc6ad84a37e.tar.gz
libdom-2cfbf69aec49595c35e9ee264b0e3bc6ad84a37e.tar.bz2
Make tag name stand out a bit more clearly in output.
svn path=/trunk/libdom/; revision=13446
Diffstat (limited to 'examples')
-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);