From 6c6d86eef12c27f21c1136a092f60c53c22b91bd Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 31 Mar 2008 14:31:43 +0200 Subject: [PATCH] [widgets/graph] Fix regression in padding removal (FS#139) Signed-off-by: Julien Danjou --- widgets/graph.c | 1 + 1 file changed, 1 insertion(+) diff --git a/widgets/graph.c b/widgets/graph.c index fcd00500..9eb13b3c 100644 --- a/widgets/graph.c +++ b/widgets/graph.c @@ -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"))) {