[widgets/graph] Fix regression in padding removal (FS#139)

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-03-31 14:31:43 +02:00
parent ff44fc44ca
commit 6c6d86eef1
1 changed files with 1 additions and 0 deletions

View File

@ -387,6 +387,7 @@ graph_new(Statusbar *statusbar, cfg_t *config)
d->width = cfg_getint(config, "width"); d->width = cfg_getint(config, "width");
d->height = cfg_getfloat(config, "height"); d->height = cfg_getfloat(config, "height");
d->size = d->width - 2;
if(!(d->data_items = cfg_size(config, "data"))) if(!(d->data_items = cfg_size(config, "data")))
{ {