projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Rewrite portable file reader code and incidentally clean up code for
[pspp-builds.git]
/
src
/
box-whisker.c
diff --git
a/src/box-whisker.c
b/src/box-whisker.c
index 773de80984d4405d74d6af6f4b661f5631a7d633..57930c86e9e3d739baa9273ee994d63fe77b579f 100644
(file)
--- a/
src/box-whisker.c
+++ b/
src/box-whisker.c
@@
-212,6
+212,9
@@
boxplot_draw_yscale(struct chart *ch , double y_max, double y_min)
double y_tick;
double d;
+ if ( !ch )
+ return ;
+
ch->y_max = y_max;
ch->y_min = y_min;