Commit 13adc2c1774e2dea4c0560d8a53a702a79aec6ee

sammy 2008-05-19T10:06:07

* Add parentheses around && within || to please gcc.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/FTContour.cpp b/src/FTContour.cpp
index 577dcae..18d1570 100644
--- a/src/FTContour.cpp
+++ b/src/FTContour.cpp
@@ -125,7 +125,7 @@ void FTContour::SetParity(int parity)
     size_t size = PointCount();
     FTPoint vOutset;
 
-    if(((parity & 1) && clockwise) || !(parity & 1) && !clockwise)
+    if(((parity & 1) && clockwise) || (!(parity & 1) && !clockwise))
     {
         // Contour orientation is wrong! We must reverse all points.
         // FIXME: could it be worth writing FTVector::reverse() for this?