Delete trailing whitespace at end of lines.
[pspp-builds.git] / src / output / chart.c
index 0fda467602981802a8fced9c18e890a2093f9740..63eb13cfefdcddc249203e950bf12f5dbfd0d637 100644 (file)
@@ -1,6 +1,5 @@
 /* PSPP - computes sample statistics.
    Copyright (C) 2004 Free Software Foundation, Inc.
-   Written by John Darrington <john@darrington.wattle.id.au>
 
    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License as
@@ -44,21 +43,21 @@ chart_create(void)
   d = outp_drivers (NULL);
   if (d == NULL)
     return NULL;
-  
+
   chart = xmalloc (sizeof *chart);
   d->class->initialise_chart(d, chart);
-  if (!chart->lp) 
+  if (!chart->lp)
     {
       free (chart);
-      return NULL; 
+      return NULL;
     }
 
   if (pl_openpl_r (chart->lp) < 0)      /* open Plotter */
     return NULL;
-  
+
   pl_fspace_r (chart->lp, 0.0, 0.0, 1000.0, 1000.0); /* set coordinate system */
   pl_flinewidth_r (chart->lp, 0.25);    /* set line thickness */
-  pl_pencolorname_r (chart->lp, "black"); 
+  pl_pencolorname_r (chart->lp, "black");
 
   pl_erase_r (chart->lp);               /* erase graphics display */
   pl_filltype_r(chart->lp,0);
@@ -79,12 +78,12 @@ chart_create(void)
   strcpy(chart->fill_colour,"red");
 
   /* Get default font size */
-  if ( !chart->font_size) 
+  if ( !chart->font_size)
     chart->font_size = pl_fontsize_r(chart->lp, -1);
 
   /* Draw the data area */
-  pl_box_r(chart->lp, 
-          chart->data_left, chart->data_bottom, 
+  pl_box_r(chart->lp,
+          chart->data_left, chart->data_bottom,
           chart->data_right, chart->data_top);
 
   return chart;
@@ -96,7 +95,7 @@ chart_submit(struct chart *chart)
   struct som_entity s;
   struct outp_driver *d;
 
-  if ( ! chart ) 
+  if ( ! chart )
      return ;
 
   pl_restorestate_r(chart->lp);
@@ -105,7 +104,7 @@ chart_submit(struct chart *chart)
   s.ext = chart;
   s.type = SOM_CHART;
   som_submit (&s);
-  
+
   if (pl_closepl_r (chart->lp) < 0)     /* close Plotter */
     {
       fprintf (stderr, "Couldn't close Plotter\n");