[GRASS-SVN] r37432 - grass-addons/ps/ps.output

svn_grass at osgeo.org svn_grass at osgeo.org
Sun May 24 12:27:50 EDT 2009


Author: ejtizado
Date: 2009-05-24 12:27:49 -0400 (Sun, 24 May 2009)
New Revision: 37432

Modified:
   grass-addons/ps/ps.output/set_rlegend.c
   grass-addons/ps/ps.output/set_vlegend.c
Log:
clean some unused parameters drawing title


Modified: grass-addons/ps/ps.output/set_rlegend.c
===================================================================
--- grass-addons/ps/ps.output/set_rlegend.c	2009-05-24 16:25:47 UTC (rev 37431)
+++ grass-addons/ps/ps.output/set_rlegend.c	2009-05-24 16:27:49 UTC (rev 37432)
@@ -153,10 +153,10 @@
         fprintf(PS.fp, "RESET\n");
         if (PS.rl.legend.title[0] == '.')
             fprintf(PS.fp, "(%s) x cwd 2 div add yo mgy mg sub sub M SHC\n",
-                    PS.rl.legend.title+1, PS.rl.legend.title_font.size);
+                    PS.rl.legend.title+1);
         else
             fprintf(PS.fp, "(%s) x yo mgy mg sub sub MS\n",
-                    PS.rl.legend.title, PS.rl.legend.title_font.size);
+                    PS.rl.legend.title);
     }
 
     return 0;

Modified: grass-addons/ps/ps.output/set_vlegend.c
===================================================================
--- grass-addons/ps/ps.output/set_vlegend.c	2009-05-24 16:25:47 UTC (rev 37431)
+++ grass-addons/ps/ps.output/set_vlegend.c	2009-05-24 16:27:49 UTC (rev 37432)
@@ -169,10 +169,10 @@
         fprintf(PS.fp, "RESET\n");
         if (PS.vl.legend.title[0] == '.')
             fprintf(PS.fp, "(%s) x cwd 2 div add yo mgy mg sub sub M SHC\n",
-                    PS.vl.legend.title+1, PS.vl.legend.title_font.size);
+                    PS.vl.legend.title+1);
         else
             fprintf(PS.fp, "(%s) x yo mgy mg sub sub MS\n",
-                    PS.vl.legend.title, PS.vl.legend.title_font.size);
+                    PS.vl.legend.title);
     }
 
     return 0;



More information about the grass-commit mailing list