Made pspp fail a little more gracefully on drivers where charts are unsupported.
[pspp-builds.git] / src / examine.q
index f92bba1fd2160709f263a860b9bd0dd22699e38d..96d8210da59d3341fe176215e65521c23c0bc113 100644 (file)
@@ -1777,7 +1777,7 @@ box_plot_group(const struct factor *fctr,
                                   s);
            }
        }
-      else
+      else if ( ch )
        {
          const double box_width = (ch->data_right - ch->data_left) / 3.0;
          const double box_centre = (ch->data_right + ch->data_left) / 2.0;