summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMenTaLguY <mental@rydia.net>2007-01-24 03:35:35 +0000
committermental <mental@users.sourceforge.net>2007-01-24 03:35:35 +0000
commit7a55cd7b3c880b9a41cbfd4393fbca682631cffb (patch)
tree2642d3854ad7ecf73b3028ec32e3c572d48e8b99 /src
parentswitch to using SVG::PathString for building paths (diff)
downloadinkscape-7a55cd7b3c880b9a41cbfd4393fbca682631cffb.tar.gz
inkscape-7a55cd7b3c880b9a41cbfd4393fbca682631cffb.zip
heh, bool to begin with
(bzr r2269)
Diffstat (limited to 'src')
-rw-r--r--src/sp-ellipse.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp-ellipse.cpp b/src/sp-ellipse.cpp
index 38cc924c8..6ab497116 100644
--- a/src/sp-ellipse.cpp
+++ b/src/sp-ellipse.cpp
@@ -680,8 +680,8 @@ sp_arc_set_elliptical_path_attribute(SPArc *arc, Inkscape::XML::Node *repr)
.arcTo(rx, ry, 0, true, true, p2)
.closePath();
} else {
- bool fa = (fabs(dt) > M_PI) ? 1 : 0;
- bool fs = (dt > 0) ? 1 : 0;
+ bool fa = (fabs(dt) > M_PI);
+ bool fs = (dt > 0);
str.arcTo(rx, ry, 0, fa, fs, p2);
if (ge->closed) {
NR::Point center = NR::Point(ge->cx.computed, ge->cy.computed);