Cosmetic formating changes
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
2aebe166c7
commit
8d0e5b29a6
|
@ -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");
|
||||
}
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue