diff options
| author | Shlomi Fish <shlomif@shlomifish.org> | 2016-09-03 16:02:59 +0000 |
|---|---|---|
| committer | Shlomi Fish <shlomif@shlomifish.org> | 2016-09-03 16:02:59 +0000 |
| commit | 9812a17c13e394c07f691f6c0332a532fe9bfec9 (patch) | |
| tree | 827ec2ee351b78db16b25a4ac3fe0f6f71c93531 /src/livarot | |
| parent | Avoid == true / == false. (diff) | |
| download | inkscape-9812a17c13e394c07f691f6c0332a532fe9bfec9.tar.gz inkscape-9812a17c13e394c07f691f6c0332a532fe9bfec9.zip | |
remove == true/false.
(bzr r15100.1.12)
Diffstat (limited to 'src/livarot')
| -rw-r--r-- | src/livarot/float-line.cpp | 6 |
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) { |
