Apply patch #5225, assertions.
[pspp-builds.git] / src / output / charts / plot-chart.c
index 497251f07eda20677029b3066196a9aa13250a15..8a1dc0bd1fbed3f5f3943dc41adb69935b7fce8f 100644 (file)
@@ -36,6 +36,7 @@
 
 #include <libpspp/str.h>
 #include <libpspp/alloc.h>
+#include <libpspp/assertion.h>
 #include <output/manager.h>
 #include <output/output.h>
 
@@ -76,7 +77,7 @@ draw_tick(struct chart *chart,
   else if (orientation == TICK_ORDINATE ) 
       pl_flinerel_r(chart->lp, 0, position, -tickSize, position);
   else
-    assert(0);
+    NOT_REACHED ();
 
   if ( label ) {
     char buf[10];