aboutsummaryrefslogtreecommitdiff
path: root/src/colors.c
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/colors.c
parentcb711a5a7e2aa24c84128781bbf02ec8bf211f17 (diff)
rm prehistoric 'subtag' wording
Diffstat (limited to 'src/colors.c')
-rw-r--r--src/colors.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/colors.c b/src/colors.c
index 264c7357..18bf6e09 100644
--- a/src/colors.c
+++ b/src/colors.c
@@ -248,14 +248,14 @@ static int32_t Color_parse_hex (const char *s, int32_t default_color, int *err)
* 1 if the color is bare hex or can't be parsed at all.
* 2 if a color beginning with 0[xX] is successfully parsed.
*/
-int32_t a_Color_parse (const char *subtag, int32_t default_color, int *err)
+int32_t a_Color_parse (const char *str, int32_t default_color, int *err)
{
const char *cp;
int32_t ret_color;
int ret, low, mid, high, st = 1;
/* skip leading spaces */
- for (cp = subtag; dIsspace(*cp); cp++);
+ for (cp = str; dIsspace(*cp); cp++);
ret_color = default_color;
if (*cp == '#') {
@@ -289,7 +289,7 @@ int32_t a_Color_parse (const char *subtag, int32_t default_color, int *err)
}
}
- _MSG("subtag: %s\n", subtag);
+ _MSG("color string: %s\n", str);
_MSG("color : %X\n", ret_color);
*err = st;