[GRASS-SVN] r29716 - grass/trunk/display/d.legend

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jan 15 23:14:45 EST 2008


Author: hamish
Date: 2008-01-15 23:14:45 -0500 (Tue, 15 Jan 2008)
New Revision: 29716

Modified:
   grass/trunk/display/d.legend/main.c
Log:
G_warning() to G_message() for informational messages


Modified: grass/trunk/display/d.legend/main.c
===================================================================
--- grass/trunk/display/d.legend/main.c	2008-01-16 02:12:47 UTC (rev 29715)
+++ grass/trunk/display/d.legend/main.c	2008-01-16 04:14:45 UTC (rev 29716)
@@ -336,12 +336,12 @@
 
 	horiz = (x1-x0 > y1-y0);
 	if(horiz)
-	    G_warning(_("Drawing horizontal legend as box width exceeds height"));
-	
+	    G_message(_("Drawing horizontal legend as box width exceeds height"));
+
 	if(!fp && horiz)	/* better than nothing */
 		do_smooth = TRUE;
-	
 
+
 	MaxLabelLen = 0;	/* init variable */
 
 	/* How many categories to show */
@@ -468,7 +468,7 @@
 		/*  an alternate solution is to set   dots_per_line=1         */
 		if ((dots_per_line == 0) && (do_smooth == 0)) {
 		    if(!use_catlist) {
-			G_warning(_("Forcing a smooth legend: too many categories for current window height"));
+			G_message(_("Forcing a smooth legend: too many categories for current window height"));
 			do_smooth = 1;
 		    }
 		}



More information about the grass-commit mailing list