aboutsummaryrefslogtreecommitdiff
path: root/src/html.cc
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2012-12-30 22:33:10 +0000
committercorvid <corvid@lavabit.com>2012-12-30 22:33:10 +0000
commitf80b0138048d14f7a791428b25d5d1ef37d76fd4 (patch)
tree825b90a9d79c3f0d098447a6323c651bc31b2e84 /src/html.cc
parentcb711a5a7e2aa24c84128781bbf02ec8bf211f17 (diff)
rm prehistoric 'subtag' wording
Diffstat (limited to 'src/html.cc')
-rw-r--r--src/html.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/html.cc b/src/html.cc
index 20a7f7d5..aaca6d10 100644
--- a/src/html.cc
+++ b/src/html.cc
@@ -1430,14 +1430,14 @@ CssLength a_Html_parse_length (DilloHtml *html, const char *attr)
* Parse a color attribute.
* Return value: parsed color, or default_color (+ error msg) on error.
*/
-int32_t a_Html_color_parse(DilloHtml *html,
- const char *subtag, int32_t default_color)
+int32_t a_Html_color_parse(DilloHtml *html, const char *str,
+ int32_t default_color)
{
int err = 1;
- int32_t color = a_Color_parse(subtag, default_color, &err);
+ int32_t color = a_Color_parse(str, default_color, &err);
if (err) {
- BUG_MSG("color \"%s\" is not in \"#RRGGBB\" format\n", subtag);
+ BUG_MSG("color \"%s\" is not in \"#RRGGBB\" format\n", str);
}
return color;
}