diff options
-rw-r--r-- | src/render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render.c b/src/render.c index 7f793797..3d8c0521 100644 --- a/src/render.c +++ b/src/render.c @@ -115,7 +115,7 @@ static void render_rgb(float val, float max, float *rp, float *gp, float *bp) if ( (val < 0.0) ) { s = 0; - p = 1.0; + p = 0; } if ( (val > max) ) { s = 6; |