[GRASS-SVN] r44473 - grass/branches/develbranch_6/imagery/i.ortho.photo/photo.2image

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Nov 29 03:07:03 EST 2010


Author: mmetz
Date: 2010-11-29 00:07:03 -0800 (Mon, 29 Nov 2010)
New Revision: 44473

Modified:
   grass/branches/develbranch_6/imagery/i.ortho.photo/photo.2image/group.c
Log:
add missing brackets

Modified: grass/branches/develbranch_6/imagery/i.ortho.photo/photo.2image/group.c
===================================================================
--- grass/branches/develbranch_6/imagery/i.ortho.photo/photo.2image/group.c	2010-11-29 08:05:42 UTC (rev 44472)
+++ grass/branches/develbranch_6/imagery/i.ortho.photo/photo.2image/group.c	2010-11-29 08:07:03 UTC (rev 44473)
@@ -57,9 +57,9 @@
     const int *a = aa, *b = bb;
     int n;
 
-    if (n =
+    if ((n =
 	strcmp(group.group_ref.file[*a].mapset,
-	       group.group_ref.file[*b].mapset))
+	       group.group_ref.file[*b].mapset)) != 0)
 	return n;
     return strcmp(group.group_ref.file[*a].name,
 		  group.group_ref.file[*b].name);



More information about the grass-commit mailing list