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

svn_grass at osgeo.org svn_grass at osgeo.org
Sun May 24 08:08:40 EDT 2009


Author: ejtizado
Date: 2009-05-24 08:08:40 -0400 (Sun, 24 May 2009)
New Revision: 37414

Modified:
   grass-addons/ps/ps.output/set_rlegend.c
Log:
corrected a error centering title of rlegend


Modified: grass-addons/ps/ps.output/set_rlegend.c
===================================================================
--- grass-addons/ps/ps.output/set_rlegend.c	2009-05-24 11:11:46 UTC (rev 37413)
+++ grass-addons/ps/ps.output/set_rlegend.c	2009-05-24 12:08:40 UTC (rev 37414)
@@ -151,7 +151,7 @@
     {
         set_ps_font(&(PS.rl.legend.title_font));
         fprintf(PS.fp, "RESET\n");
-        if (PS.vl.legend.title[0] == '.')
+        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);
         else



More information about the grass-commit mailing list