summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcorvid <devnull@localhost>2014-08-03 17:38:04 +0000
committercorvid <devnull@localhost>2014-08-03 17:38:04 +0000
commitad5acf836446b260329ce464e1fb27dc97e48d3e (patch)
treeedef2b3ef6239340794d666510ffbb9b1adac5ab
parentc1b4f7f51ab8a9190bcaabc13015ffeff292a4a1 (diff)
MSG
-rw-r--r--src/html.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/html.cc b/src/html.cc
index 997287ca..04b4ac84 100644
--- a/src/html.cc
+++ b/src/html.cc
@@ -2770,7 +2770,8 @@ static void Html_tag_open_a(DilloHtml *html, const char *tag, int tagsize)
/* We compare the "id" value with the url-decoded "name" value */
if (!id || strcmp(nameVal, id)) {
if (id)
- BUG_MSG("'id' and 'name' attribute of <a> tag differ\n");
+ BUG_MSG("id ('%s') and name ('%s') attributes of <a> tag "
+ "differ\n", id, nameVal);
Html_add_anchor(html, nameVal);
}