[styles] Set shadow_offset to 0 by default

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-03-28 13:40:59 +01:00
parent ffe6186fa4
commit fb36ccee49
1 changed files with 2 additions and 0 deletions

View File

@ -869,6 +869,8 @@ draw_style_init(Display *disp, int phys_screen, cfg_t *cfg,
if((shadow = cfg_getint(cfg, "shadow_offset")) != (int) 0xffffffff)
c->shadow_offset = shadow;
else if(!m)
c->shadow_offset = 0;
}
/** Remove a area from a list of them,