[GRASS-SVN] r31748 - grass/trunk/display/d.labels

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Jun 19 02:06:49 EDT 2008


Author: hamish
Date: 2008-06-19 02:06:48 -0400 (Thu, 19 Jun 2008)
New Revision: 31748

Modified:
   grass/trunk/display/d.labels/do_labels.c
Log:
reset rotation after each label (merge from devbr6)

Modified: grass/trunk/display/d.labels/do_labels.c
===================================================================
--- grass/trunk/display/d.labels/do_labels.c	2008-06-19 05:58:19 UTC (rev 31747)
+++ grass/trunk/display/d.labels/do_labels.c	2008-06-19 06:06:48 UTC (rev 31748)
@@ -142,10 +142,11 @@
 	else if (! strncmp(text, "hwi", 3))
 	    sscanf(text,"%*s %d", &highlight_width) ;
 
-	else if (! strncmp(text, "tex", 3))
+	else if (! strncmp(text, "tex", 3)) {
 		show_it() ;
+		rotation = 0.0; /* reset */
+	}
 
-
 	else
 	{
 		if (sscanf (text, "%1s", buff) == 1)



More information about the grass-commit mailing list