[widgets/graph] Fix regression in padding removal (FS#139)
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
ff44fc44ca
commit
6c6d86eef1
|
@ -387,6 +387,7 @@ graph_new(Statusbar *statusbar, cfg_t *config)
|
|||
|
||||
d->width = cfg_getint(config, "width");
|
||||
d->height = cfg_getfloat(config, "height");
|
||||
d->size = d->width - 2;
|
||||
|
||||
if(!(d->data_items = cfg_size(config, "data")))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue