aboutsummaryrefslogtreecommitdiff
path: root/src/render.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/render.c')
-rw-r--r--src/render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render.c b/src/render.c
index 5b47775f..e3fec53d 100644
--- a/src/render.c
+++ b/src/render.c
@@ -111,7 +111,7 @@ int16_t *render_get_image_binned(DisplayWindow *dw, int binning, int16_t *max)
\
if ( (val < 0.0) || (val > max) ) { \
s = 0; \
- p = 0.0; \
+ p = 1.0; \
} \
switch ( s ) { \
case 0 : { /* Black to blue */ \