summaryrefslogtreecommitdiffstats
path: root/src/livarot/float-line.cpp
diff options
context:
space:
mode:
authorMichael Soegtrop <MSoegtrop@yahoo.de>2017-06-05 13:01:17 +0000
committerMichael Soegtrop <MSoegtrop@yahoo.de>2017-06-05 13:01:17 +0000
commite7248b2fa042f42a5c4dd14cd86ab6a5b4524059 (patch)
tree9097520c54e355ded9bd0b4d6618af4e8dacdd91 /src/livarot/float-line.cpp
parentupdated to latest trunk (diff)
parent[Bug #1695016] Xaml export misses some radialGradients. (diff)
downloadinkscape-e7248b2fa042f42a5c4dd14cd86ab6a5b4524059.tar.gz
inkscape-e7248b2fa042f42a5c4dd14cd86ab6a5b4524059.zip
updated to latest trunk
(bzr r14876.2.4)
Diffstat (limited to 'src/livarot/float-line.cpp')
-rw-r--r--src/livarot/float-line.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/livarot/float-line.cpp b/src/livarot/float-line.cpp
index 55fda019a..e5350edc6 100644
--- a/src/livarot/float-line.cpp
+++ b/src/livarot/float-line.cpp
@@ -499,7 +499,7 @@ void FloatLigne::Flatten()
}
// then scan all boundaries that start a portion at this position
- while ( i >= 0 && i < int(bords.size()) && bords[i].pos == cur && bords[i].start == true ) {
+ while ( i >= 0 && i < int(bords.size()) && bords[i].pos == cur && bords[i].start ) {
rightV += bords[i].val;
rightP += bords[i].pente;
#ifndef faster_flatten
@@ -748,8 +748,8 @@ void FloatLigne::Split(FloatLigne *a, float tresh, FloatLigne *over)
/**
* Clips the coverage runs to tresh.
*
- * If addIt == false, it only leaves the parts that are not entirely under
- * tresh. If addIt == true, it's the coverage clamped to tresh.
+ * If addIt is false, it only leaves the parts that are not entirely under
+ * tresh. If addIt is true, it's the coverage clamped to tresh.
*/
void FloatLigne::Max(FloatLigne *a, float tresh, bool addIt)
{