Fixed assignment of the intercept
[pspp-builds.git] / src / plot-chart.c
index a866f4f371c5e7d1a04cd66f0aa4a74c07a48832..bfe38c8192f105da9453c6dc7c7b5f79296568f5 100644 (file)
@@ -58,7 +58,7 @@ chart_create(void)
   if (d == NULL)
     return NULL;
   
-  chart = xmalloc(sizeof(struct chart) );
+  chart = xmalloc (sizeof *chart);
   d->class->initialise_chart(d, chart);
   if (!chart->lp) 
     {