cosmetic
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
cd21e6665b
commit
446df09acc
2
client.c
2
client.c
|
@ -769,7 +769,7 @@ static void
|
||||||
client_markup_on_elem(markup_parser_data_t *p, const char *elem,
|
client_markup_on_elem(markup_parser_data_t *p, const char *elem,
|
||||||
const char **names, const char **values)
|
const char **names, const char **values)
|
||||||
{
|
{
|
||||||
assert (!strcmp(elem, "title"));
|
assert(!a_strcmp(elem, "title"));
|
||||||
buffer_add_xmlescaped(&p->text, p->priv);
|
buffer_add_xmlescaped(&p->text, p->priv);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -59,7 +59,7 @@ static void
|
||||||
tag_markup_on_elem(markup_parser_data_t *p, const char *elem,
|
tag_markup_on_elem(markup_parser_data_t *p, const char *elem,
|
||||||
const char **names, const char **values)
|
const char **names, const char **values)
|
||||||
{
|
{
|
||||||
assert (!strcmp(elem, "title"));
|
assert(!a_strcmp(elem, "title"));
|
||||||
buffer_add_xmlescaped(&p->text, p->priv);
|
buffer_add_xmlescaped(&p->text, p->priv);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -77,9 +77,8 @@ tasklist_markup_on_elem(markup_parser_data_t *p, const char *elem,
|
||||||
struct tasklist_hook_data *data = p->priv;
|
struct tasklist_hook_data *data = p->priv;
|
||||||
draw_context_t *ctx = data->ctx;
|
draw_context_t *ctx = data->ctx;
|
||||||
|
|
||||||
assert(!strcmp(elem, "bg"));
|
assert(!a_strcmp(elem, "bg"));
|
||||||
for(; *names; names++, values++)
|
for(; *names; names++, values++)
|
||||||
{
|
|
||||||
if(!a_strcmp(*names, "color"))
|
if(!a_strcmp(*names, "color"))
|
||||||
{
|
{
|
||||||
xcolor_t bg_color;
|
xcolor_t bg_color;
|
||||||
|
@ -88,7 +87,6 @@ tasklist_markup_on_elem(markup_parser_data_t *p, const char *elem,
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
|
Loading…
Reference in New Issue