From 5df50511b0a84e11f9ffaae1400d299520c5290f Mon Sep 17 00:00:00 2001 From: thewaiter Date: Mon, 28 Oct 2024 19:32:38 +0100 Subject: [PATCH] iBar: unnecessary condition removed --- src/modules/ibar/e_mod_main.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/modules/ibar/e_mod_main.c b/src/modules/ibar/e_mod_main.c index df6d93369..7eeb0e994 100644 --- a/src/modules/ibar/e_mod_main.c +++ b/src/modules/ibar/e_mod_main.c @@ -955,11 +955,8 @@ _ibar_icon_signal_emit(IBar_Icon *ic, const char *sig, char *src) EINA_LIST_FOREACH(ic->exes, l, exe) { - if (eina_list_count(exe->borders) > 0) - { - sprintf(buf, "%d", eina_list_count(exe->borders)); - edje_object_part_text_set(ic->o_holder, "e.text.label", buf); - } + sprintf(buf, "%d", eina_list_count(exe->borders)); + edje_object_part_text_set(ic->o_holder, "e.text.label", buf); } if (ic->o_holder)