[GRASS-SVN] r40607 - grass/branches/develbranch_6/raster/r.colors

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Jan 21 22:15:10 EST 2010


Author: hamish
Date: 2010-01-21 22:15:09 -0500 (Thu, 21 Jan 2010)
New Revision: 40607

Modified:
   grass/branches/develbranch_6/raster/r.colors/main.c
Log:
code cosmetics

Modified: grass/branches/develbranch_6/raster/r.colors/main.c
===================================================================
--- grass/branches/develbranch_6/raster/r.colors/main.c	2010-01-22 03:00:32 UTC (rev 40606)
+++ grass/branches/develbranch_6/raster/r.colors/main.c	2010-01-22 03:15:09 UTC (rev 40607)
@@ -274,7 +274,7 @@
 	G_fatal_error(_("Interactive mode is incompatible with \"color\", \"rules\", and \"raster\" options"));
 
     if ((style && (cmap || rules)) || (cmap && rules)) {
-	if(((style && rules && !cmap) && strcmp(style, "rules") == 0))
+	if ((style && rules && !cmap) && strcmp(style, "rules") == 0)
 	    style = NULL;
 	else
 	    G_fatal_error(



More information about the grass-commit mailing list