[Gridflow-cvs] [svn] commit: r3969 - /trunk/base/flow_objects.c

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Fri Jul 4 15:22:23 EDT 2008


Author: matju
Date: Fri Jul  4 15:22:23 2008
New Revision: 3969

Log:
fix warning about && and ||. (warning about & and comparison, was committed in the previous commit, by accident)

Modified:
    trunk/base/flow_objects.c

Modified: trunk/base/flow_objects.c
==============================================================================
--- trunk/base/flow_objects.c (original)
+++ trunk/base/flow_objects.c Fri Jul  4 15:22:23 2008
@@ -2006,7 +2006,7 @@
 					int xs = min(ld[i].x,ld[i].ox);
 					int xe = max(ld[i].x,ld[i].ox);
 					if (xs==xe) xe++;
-					if (xs<0 && xe<0 || xs>=xl && xe>=xl) continue;
+					if ((xs<0 && xe<0) || (xs>=xl && xe>=xl)) continue;
 					xs = max(0,xs);
 					xe = min(xl,xe);
 					while (xe-xs>=16) {op->zip(16*cn,data2+cn*xs,cd); xs+=16;}



More information about the Gridflow-cvs mailing list