Cosmetic formating changes

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-03-21 10:01:28 +01:00
parent 2aebe166c7
commit 8d0e5b29a6
2 changed files with 6 additions and 6 deletions

View File

@ -778,13 +778,13 @@ draw_style_init(Display *disp, int phys_screen, cfg_t *cfg,
cfg_getstr(cfg, "fg"), &c->fg);
draw_color_new(disp, phys_screen,
cfg_getstr(cfg, "bg"), &c->bg);
cfg_getstr(cfg, "bg"), &c->bg);
draw_color_new(disp, phys_screen,
cfg_getstr(cfg, "border"), &c->border);
cfg_getstr(cfg, "border"), &c->border);
draw_color_new(disp, phys_screen,
cfg_getstr(cfg, "shadow"), &c->shadow);
cfg_getstr(cfg, "shadow"), &c->shadow);
c->shadow_offset = cfg_getint(cfg, "shadow_offset");
}

View File

@ -124,9 +124,9 @@ textbox_new(Statusbar *statusbar, cfg_t *config)
w->data = d = p_new(Data, 1);
draw_style_init(globalconf.display, phys_screen,
cfg_getsec(config, "style"),
&d->style,
&globalconf.screens[statusbar->screen].styles.normal);
cfg_getsec(config, "style"),
&d->style,
&globalconf.screens[statusbar->screen].styles.normal);
d->width = cfg_getint(config, "width");
d->align = cfg_getalignment(config, "text_align");