aboutsummaryrefslogtreecommitdiff
path: root/src/scaling-report.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/scaling-report.c')
-rw-r--r--src/scaling-report.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scaling-report.c b/src/scaling-report.c
index 0912e1dc..0b733e05 100644
--- a/src/scaling-report.c
+++ b/src/scaling-report.c
@@ -238,7 +238,7 @@ static void partiality_graph(cairo_t *cr, const struct image *images, int n,
cairo_move_to(cr, 0.0, g_height);
for ( i=0; i<nbins; i++ ) {
if ( counts[i] == 0 ) continue;
- cairo_line_to(cr, g_width*(double)i/nbins,
+ cairo_line_to(cr, g_width*((double)i+0.5)/nbins,
g_height - g_height*(totals[i]/counts[i]));
}
cairo_set_source_rgb(cr, 0.0, 0.0, 0.0);