Index: src/gpu/GrPathUtils.cpp |
diff --git a/src/gpu/GrPathUtils.cpp b/src/gpu/GrPathUtils.cpp |
index e354e413f11485f1bf4df90e0ab6e8aed92a9355..d412b8cd9dfea373d6b6846a42a21407e47b4cd3 100644 |
--- a/src/gpu/GrPathUtils.cpp |
+++ b/src/gpu/GrPathUtils.cpp |
@@ -639,7 +639,7 @@ static void set_loop_klm(const SkScalar d[3], SkScalar k[4], SkScalar l[4], SkSc |
// If (d0 < 0 && sign(k1) > 0) || (d0 > 0 && sign(k1) < 0), |
// we need to flip the orientation of our curve. |
// This is done by negating the k and l values |
- if ( (d[0] < 0 && k[1] < 0) || (d[0] > 0 && k[1] > 0)) { |
+ if ( (d[0] < 0 && k[1] > 0) || (d[0] > 0 && k[1] < 0)) { |
for (int i = 0; i < 4; ++i) { |
k[i] = -k[i]; |
l[i] = -l[i]; |