aboutsummaryrefslogtreecommitdiff
path: root/src/html.cc
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
commit1a375d0f0b47d6e7985e3a7b9b93d6fa727aa041 (patch)
tree8429e3e68424d190d1eec71607535209dbfa41c6 /src/html.cc
parent992654f12d31ee3225a18d4a1e0b1b37c26cd2cf (diff)
MSG
Diffstat (limited to 'src/html.cc')
-rw-r--r--src/html.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/html.cc b/src/html.cc
index e6d13aab..f2d92765 100644
--- a/src/html.cc
+++ b/src/html.cc
@@ -2777,7 +2777,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);
}