[GRASS-SVN] r48478 - grass/branches/releasebranch_6_4/ps/ps.map

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Sep 26 06:31:27 EDT 2011


Author: hamish
Date: 2011-09-26 03:31:27 -0700 (Mon, 26 Sep 2011)
New Revision: 48478

Modified:
   grass/branches/releasebranch_6_4/ps/ps.map/r_plt.c
Log:
bugfix: inch scaling was backwards (merge from devbr6)

Modified: grass/branches/releasebranch_6_4/ps/ps.map/r_plt.c
===================================================================
--- grass/branches/releasebranch_6_4/ps/ps.map/r_plt.c	2011-09-26 10:27:55 UTC (rev 48477)
+++ grass/branches/releasebranch_6_4/ps/ps.map/r_plt.c	2011-09-26 10:31:27 UTC (rev 48478)
@@ -242,7 +242,7 @@
 		error(key, data, "illegal width request");
 	    }
 	    if (ch == 'i')
-		width = width / 72.;
+		width = width * 72.;
 	    continue;
 	}
 
@@ -329,7 +329,7 @@
 		error(key, data, "illegal width request");
 	    }
 	    if (ch == 'i')
-		width = width / 72.;
+		width = width * 72.;
 	    continue;
 	}
 



More information about the grass-commit mailing list