Skip to content

Commit

Permalink
iBar: unnecessary condition removed
Browse files Browse the repository at this point in the history
  • Loading branch information
thewaiter committed Oct 28, 2024
1 parent ab668ee commit 5df5051
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/modules/ibar/e_mod_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5df5051

Please sign in to comment.