From 1bc6d1dc2fd5c86cf7d1608630f02e6ace9af1f1 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Sat, 22 Dec 2007 16:25:22 +0100 Subject: [PATCH] cosmetic --- config.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/config.c b/config.c index 0a3499aba..24798f1a1 100644 --- a/config.c +++ b/config.c @@ -282,11 +282,13 @@ create_widgets(cfg_t* cfg_statusbar, Statusbar *statusbar) qsort(widgets, numwidgets, sizeof(cfg_t), cmp_widget_cfg); - for (i = 0; i < numwidgets; i++){ + for (i = 0; i < numwidgets; i++) + { wptr = widgets + i; widget_new = name_func_lookup(cfg_name(wptr), WidgetList); if (widget_new) - if(!widget){ + if(!widget) + { widget = widget_new(statusbar, wptr); statusbar->widgets = widget; }