diff options
author | Sebastian Geerken <devnull@localhost> | 2013-01-02 20:18:06 +0100 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2013-01-02 20:18:06 +0100 |
commit | 4371834b825361650d6d2b48ec47bb258dccaa6d (patch) | |
tree | f24b6ba61f19eda10e018220b785c13ea12cb179 /src/html.cc | |
parent | 2a3e6330ae2c4a7537dd6b1c8668051f0670746c (diff) | |
parent | 541948d93d7ab1f1d812f801811057e2e2e6d09b (diff) |
Merge with main repo.
Diffstat (limited to 'src/html.cc')
-rw-r--r-- | src/html.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/html.cc b/src/html.cc index f80d7954..7fa8a7b5 100644 --- a/src/html.cc +++ b/src/html.cc @@ -1432,14 +1432,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; } |