aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcorvid <devnull@localhost>2014-08-05 20:29:18 +0000
committercorvid <devnull@localhost>2014-08-05 20:29:18 +0000
commit744f32e29334a6de4d668a4ed1025be2a0407419 (patch)
tree908cf5093218cb20564334c17d8642aaca613822 /src
parent21b46c5dd89ee6fdef16ce00c0b745064bb9464d (diff)
bug msg
'' (empty string) resembled " (double quotes) too strongly.
Diffstat (limited to 'src')
-rw-r--r--src/html.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/html.cc b/src/html.cc
index e9d3fcf8..036f1290 100644
--- a/src/html.cc
+++ b/src/html.cc
@@ -1530,7 +1530,7 @@ static int
bool valid = *val && !strchr(val, ' ');
if (!valid) {
- BUG_MSG("'%s' value '%s' must not be empty and must not contain "
+ BUG_MSG("'%s' value \"%s\" must not be empty and must not contain "
"spaces.", attrname, val);
}
return valid ? 1 : 0;
@@ -1542,7 +1542,7 @@ static int
break;
if (val[i] || !(isascii(val[0]) && isalpha(val[0])))
- BUG_MSG("%s attribute value '%s' is not of the form "
+ BUG_MSG("%s attribute value \"%s\" is not of the form "
"'[A-Za-z][A-Za-z0-9:_.-]*'.", attrname, val);
return !(val[i]);