From 446df09accda32538e5561f11fc6c8151fe75629 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 23 Jun 2008 14:14:47 +0200 Subject: [PATCH] cosmetic Signed-off-by: Julien Danjou --- client.c | 2 +- widgets/taglist.c | 2 +- widgets/tasklist.c | 4 +--- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/client.c b/client.c index 1c09991a..4f2b64f2 100644 --- a/client.c +++ b/client.c @@ -769,7 +769,7 @@ static void client_markup_on_elem(markup_parser_data_t *p, const char *elem, const char **names, const char **values) { - assert (!strcmp(elem, "title")); + assert(!a_strcmp(elem, "title")); buffer_add_xmlescaped(&p->text, p->priv); } diff --git a/widgets/taglist.c b/widgets/taglist.c index 58fe157a..a570a5bc 100644 --- a/widgets/taglist.c +++ b/widgets/taglist.c @@ -59,7 +59,7 @@ static void tag_markup_on_elem(markup_parser_data_t *p, const char *elem, const char **names, const char **values) { - assert (!strcmp(elem, "title")); + assert(!a_strcmp(elem, "title")); buffer_add_xmlescaped(&p->text, p->priv); } diff --git a/widgets/tasklist.c b/widgets/tasklist.c index 887047dc..fc899738 100644 --- a/widgets/tasklist.c +++ b/widgets/tasklist.c @@ -77,9 +77,8 @@ tasklist_markup_on_elem(markup_parser_data_t *p, const char *elem, struct tasklist_hook_data *data = p->priv; draw_context_t *ctx = data->ctx; - assert(!strcmp(elem, "bg")); + assert(!a_strcmp(elem, "bg")); for(; *names; names++, values++) - { if(!a_strcmp(*names, "color")) { xcolor_t bg_color; @@ -87,7 +86,6 @@ tasklist_markup_on_elem(markup_parser_data_t *p, const char *elem, draw_rectangle(ctx, *data->area, 1.0, true, bg_color); break; } - } }