From a246f32bf4a30e0409cd19350bfe73d8cc3061d8 Mon Sep 17 00:00:00 2001 From: Valerio mariani Date: Fri, 8 May 2015 10:26:31 +0200 Subject: Fix for colour bar not reaching the maximum value --- src/hdfsee-render.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/hdfsee-render.c b/src/hdfsee-render.c index 9a7d92a7..71e2e1e8 100644 --- a/src/hdfsee-render.c +++ b/src/hdfsee-render.c @@ -226,7 +226,7 @@ GdkPixbuf *render_get_colour_scale(size_t w, size_t h, int scale) data = malloc(3*w*h); if ( data == NULL ) return NULL; - max = h; + max = h-(h/6); for ( y=0; y