misc: t i d y

This commit is contained in:
Alastair Poole 2020-06-03 13:48:19 +01:00
parent 515f4d73f7
commit 200d9860a2
1 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@ static void
_battery_usage_add(Evas_Object *box, power_t *power)
{
Evas_Object *frame, *vbox, *hbox, *progress, *ic, *label;
Eina_Strbuf *buf;
for (int i = 0; i < power->battery_count; i++)
{
@ -27,7 +28,7 @@ _battery_usage_add(Evas_Object *box, power_t *power)
evas_object_show(label);
elm_box_pack_end(vbox, label);
Eina_Strbuf *buf = eina_strbuf_new();
buf = eina_strbuf_new();
if (buf)
{
eina_strbuf_append_printf(buf, "<bigger>%s ",