[GRASS-SVN] r48475 - grass/branches/develbranch_6/ps/ps.map

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Sep 26 06:13:19 EDT 2011


Author: hamish
Date: 2011-09-26 03:13:17 -0700 (Mon, 26 Sep 2011)
New Revision: 48475

Modified:
   grass/branches/develbranch_6/ps/ps.map/r_plt.c
Log:
bugfix: inch scaling was backwards

Modified: grass/branches/develbranch_6/ps/ps.map/r_plt.c
===================================================================
--- grass/branches/develbranch_6/ps/ps.map/r_plt.c	2011-09-26 09:30:19 UTC (rev 48474)
+++ grass/branches/develbranch_6/ps/ps.map/r_plt.c	2011-09-26 10:13:17 UTC (rev 48475)
@@ -241,7 +241,7 @@
 		error(key, data, "illegal width request");
 	    }
 	    if (ch == 'i')
-		width = width / 72.;
+		width = width * 72.;
 	    continue;
 	}
 
@@ -328,7 +328,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